DEBSOURCES
Skip Quicknav
sources / python-friendly-traceback / 0.7.62%2Bgit20240811.d7dbff6-1.1 / tests / syntax / name_is_global_and_nonlocal.py
12345678
"""Should raise SyntaxError: name 'xy' is nonlocal and global""" xy = 1 def f(): global xy nonlocal xy