Files
python-uncompyle6/test/base-tests/python2.7/test_globals.py
2015-12-13 05:23:28 -05:00

11 lines
155 B
Python

def f():
print x # would result in a 'NameError' or 'UnboundLocalError'
x = x+1
print x
raise "This program can't be run"
x = 1
f()
print x