1
0
forked from VimPlug/jedi

Some code cleanups

This commit is contained in:
Dave Halter
2020-04-11 02:11:52 +02:00
parent 9d55194b92
commit bdd4deedc1
11 changed files with 26 additions and 22 deletions

View File

@@ -109,8 +109,8 @@ def _find_global_variables(names, search_name):
for global_name in method().get(search_name):
yield global_name
c = module_context.create_context(global_name.tree_name)
for name in _add_names_in_same_context(c, global_name.string_name):
yield name
for n in _add_names_in_same_context(c, global_name.string_name):
yield n
def find_references(module_context, tree_name):