mirror of
https://github.com/davidhalter/jedi.git
synced 2026-08-14 09:41:00 +08:00
simplified flowscope stuff again
This commit is contained in:
@@ -241,11 +241,6 @@ class NameFinder(object):
|
|||||||
if n:
|
if n:
|
||||||
result = n
|
result = n
|
||||||
break
|
break
|
||||||
|
|
||||||
if result:
|
|
||||||
break
|
|
||||||
if flow_scope == nscope:
|
|
||||||
break
|
|
||||||
flow_scope = flow_scope.parent
|
flow_scope = flow_scope.parent
|
||||||
|
|
||||||
if not result and isinstance(nscope, er.Instance):
|
if not result and isinstance(nscope, er.Instance):
|
||||||
|
|||||||
Reference in New Issue
Block a user