summaryrefslogtreecommitdiff
path: root/Lib/opcode.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 71ce67233b..ecc24bb165 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -34,9 +34,7 @@ hasfree = []
hasnargs = []
opmap = {}
-opname = [''] * 256
-for op in range(256): opname[op] = '<%r>' % (op,)
-del op
+opname = ['<%r>' % (op,) for op in range(256)]
def def_op(name, op):
opname[op] = name