mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-06 00:47:39 +08:00
merged module_cache into parser_cache
This commit is contained in:
@@ -64,7 +64,7 @@ class ModuleWithCursor(Module):
|
||||
""" get the parser lazy """
|
||||
if not self._parser:
|
||||
try:
|
||||
parser = cache.module_cache[self.path].parser
|
||||
parser = cache.parser_cache[self.path].parser
|
||||
cache.invalidate_star_import_cache(parser.module)
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user