You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
303 B
22 lines
303 B
# to test the order of locals and arguments (LOAD_FAST, STORE_FAST)
|
|
|
|
def f1():
|
|
b = 1
|
|
a = 2
|
|
return a + b
|
|
|
|
def f2(b):
|
|
a = 2
|
|
return a + b
|
|
|
|
def f3():
|
|
def f3f():
|
|
return True
|
|
a = 1
|
|
return f3f(a)
|
|
|
|
def f4():
|
|
x = 1
|
|
def f3f():
|
|
return True
|
|
return f3f(x)
|
|
|