mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-07 05:14:29 +08:00
Add no binding found for nonlocal issue
This commit is contained in:
@@ -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