mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-03 16:43:47 +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:
|
||||
result = n
|
||||
break
|
||||
|
||||
if result:
|
||||
break
|
||||
if flow_scope == nscope:
|
||||
break
|
||||
flow_scope = flow_scope.parent
|
||||
|
||||
if not result and isinstance(nscope, er.Instance):
|
||||
|
||||
Reference in new issue
Block a user