mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-03 16:33:47 +08:00
Add no binding found for nonlocal issue
This commit is contained in:
1 parent
aa0225f63f
commit
0906c0b634
4 files changed
+49
-12
No files matched your search
@@ -47,13 +47,12 @@ except ZeroDivisionError:
|
||||
pass
|
||||
|
||||
|
||||
class X():
|
||||
nonlocal a
|
||||
|
||||
|
||||
def c():
|
||||
class X():
|
||||
nonlocal a
|
||||
a = 3
|
||||
|
||||
def d():
|
||||
class X():
|
||||
nonlocal a
|
||||
|
||||
|
||||
def x():
|
||||
|
||||
Reference in new issue
Block a user