--- jedi/parser_utils.py.orig 2020-09-01 10:57:58.000000000 +0300 +++ jedi/parser_utils.py 2020-09-01 10:58:17.000000000 +0300 @@ -277,7 +277,7 @@ Basically access the cached code lines in parso. This is not the nicest way to do this, but we avoid splitting all the lines again. """ - return parser_cache[grammar._hashed][path].lines + return parser_cache[grammar._hashed][str(path)].lines def cut_value_at_position(leaf, position):