mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-15 16:36:44 +08:00
simplified flowscope stuff again
This commit is contained in:
@@ -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