☰
Debian Codegraph
@
0.7.62+git20250413.bba8fc4-1
/
/
tests
/
syntax
/
assign_name_before_nonlocal_2.py
☽
☼
tests/syntax/assign_name_before_nonlocal_2.py
code
plain
raw
symbols
SCIP
Expat
2019 Andre Roberge <
[email protected]
>
debian/copyright
1
"""Should raise SyntaxError: name 's' is assigned to before nonlocal declaration """
2
3
4
def
f
():
5
s =
1
6
7
def
g
():
8
s =
2
9
nonlocal
s