1
0
forked from VimPlug/jedi

moved another method away from dynamic

This commit is contained in:
Dave Halter
2014-01-07 15:01:59 +01:00
parent 8a9453872f
commit a5fa739960
3 changed files with 51 additions and 52 deletions

View File

@@ -745,7 +745,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 dynamic.get_directory_modules_for_name(mods, search_name):
for m in helpers.get_modules_containing_name(mods, search_name):
try:
stmts = m.used_names[search_name]
except KeyError: