1
0
forked from VimPlug/jedi

change the implementation of compiled.load_module and always use the sys.modules cache after an import, because it's easier. Doesn't require any logic.

This commit is contained in:
Dave Halter
2014-06-25 18:46:51 +02:00
parent e5efd6e5c8
commit 47205dd7f3
4 changed files with 50 additions and 31 deletions

View File

@@ -180,7 +180,9 @@ dynamic_flow_information = True
Check for `isinstance` and other information to infer a type.
"""
auto_import_modules = ['hashlib']
auto_import_modules = [
'hashlib', # setattr
]
"""
Modules that are not analyzed but imported, although they contain Python code.
This improves autocompletion for libraries that use ``setattr`` or