mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-19 05:11:26 +08:00
simplified flowscope stuff again
This commit is contained in:
1 parent
3f80de34e3
commit
117a9d8cf2
1 file changed
-5
@@ -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