forked from VimPlug/jedi
changed the way how the dynamic param function searches it's parent scope, to enable smooth list comprehension following
This commit is contained in:
@@ -95,7 +95,7 @@ def search_params(evaluator, param):
|
||||
continue
|
||||
scopes = [scope]
|
||||
if first:
|
||||
scopes = evaluator.eval_call_path(iter(first), scope, pos)
|
||||
scopes = evaluator.eval_call_path(iter(first), c.parent, pos)
|
||||
pos = None
|
||||
from jedi.evaluate import representation as er
|
||||
for scope in scopes:
|
||||
|
||||
Reference in New Issue
Block a user