blob: 50118d328650307e021b09275bd267189c0ce750 [file]
def foo():
x = 1
def bar():
nonlocal x
baz()
print(x)
def baz():
nonlocal x
x = 2
bar()
foo()