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