forked from VimPlug/jedi
fix list comprehensions. they were not implemented in a good way
This commit is contained in:
@@ -88,7 +88,7 @@ class _RecursionNode(object):
|
||||
if not other:
|
||||
return None
|
||||
|
||||
is_list_comp = lambda x: isinstance(x, iterable.ListComprehensionFlow)
|
||||
is_list_comp = lambda x: isinstance(x, pr.ListComprehension)
|
||||
return self.script == other.script \
|
||||
and self.position == other.position \
|
||||
and not is_list_comp(self.stmt.parent) \
|
||||
|
||||
Reference in New Issue
Block a user