forked from VimPlug/jedi
NamePart is now no str subclass anymore. They are separated, which makes us save a lot of dicts
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ def usages(evaluator, definitions, search_name, mods):
|
||||
compare_definitions = compare_array(definitions)
|
||||
mods |= set([d.get_parent_until() for d in definitions])
|
||||
names = []
|
||||
for m in imports.get_modules_containing_name(mods, search_name):
|
||||
for m in imports.get_modules_containing_name(mods, str(search_name)):
|
||||
try:
|
||||
stmts = m.used_names[search_name]
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user