mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-15 02:31:57 +08:00
merged module_cache into parser_cache
This commit is contained in:
@@ -32,7 +32,7 @@ def get_directory_modules_for_name(mods, name):
|
||||
"""
|
||||
def check_python_file(path):
|
||||
try:
|
||||
return cache.module_cache[path].parser.module
|
||||
return cache.parser_cache[path].parser.module
|
||||
except KeyError:
|
||||
try:
|
||||
return check_fs(path)
|
||||
|
||||
Reference in New Issue
Block a user