mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-22 12:28:27 +08:00
Completely remove names_dicts from the diff parser.
This commit is contained in:
@@ -168,6 +168,7 @@ def get_module_names(module, all_scopes):
|
||||
if all_scopes:
|
||||
dct = module.used_names
|
||||
else:
|
||||
raise DeprecationWarning
|
||||
dct = module.names_dict
|
||||
return chain.from_iterable(dct.values())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user