forked from VimPlug/jedi
Fi dynamic param stuff combined with list comprehensions.
This commit is contained in:
@@ -71,7 +71,7 @@ def search_params(evaluator, param):
|
|||||||
|
|
||||||
for name in names:
|
for name in names:
|
||||||
stmt = name.get_definition()
|
stmt = name.get_definition()
|
||||||
if not isinstance(stmt, pr.ExprStmt):
|
if not isinstance(stmt, (pr.ExprStmt, pr.CompFor)):
|
||||||
continue
|
continue
|
||||||
parent = name.parent
|
parent = name.parent
|
||||||
if pr.is_node(parent, 'trailer'):
|
if pr.is_node(parent, 'trailer'):
|
||||||
|
|||||||
Reference in New Issue
Block a user