OILS
/
opy
/
gold
/ slice_bytecode.py
View on Github
|
oilshell.org
13 lines, 5 significant
1
#!/usr/bin/env python2
2
"""
3
slice_bytecode.py
4
"""
5
6
def f():
7
stack = [1, 2]
8
del stack[:]
9
#stack[:] = [3]
10
print(stack)
11
12
f()
13