1
0
forked from VimPlug/jedi

Only real modules should be added in get_modules_containing_name.

This commit is contained in:
Dave Halter
2014-09-19 18:05:57 +02:00
parent e0f84ccb86
commit 78bd775889
2 changed files with 2 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ def search_params(evaluator, param):
for params in get_posibilities(evaluator, module, func_name):
for p in params:
if str(p) == param_name:
result += evaluator.eval_statement(p.parent)
result += evaluator.eval_statement(p.get_definition())
return result
func = param.get_parent_until(pr.Function)