mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-30 18:55:21 +08:00
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:
|
||||
stmt = name.get_definition()
|
||||
if not isinstance(stmt, pr.ExprStmt):
|
||||
if not isinstance(stmt, (pr.ExprStmt, pr.CompFor)):
|
||||
continue
|
||||
parent = name.parent
|
||||
if pr.is_node(parent, 'trailer'):
|
||||
|
||||
Reference in New Issue
Block a user