☰
Debian Codegraph
@
0.7.62+git20250413.bba8fc4-1
/
/
tests
/
syntax
/
assign_name_before_nonlocal_1.py
☽
☼
tests/syntax/assign_name_before_nonlocal_1.py
code
plain
raw
symbols
SCIP
Expat
2019 Andre Roberge <
[email protected]
>
debian/copyright
1
"""Should raise SyntaxError: name 'q' is used prior to nonlocal declaration """
2
3
4
def
f
():
5
pp =
0
6
qq =
1
7
8
9
def
g
():
10
print
(qq)
11
nonlocal
pp, qq