summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-08-25 05:05:30 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-08-25 05:05:30 (GMT)
commite2e23ef97da1ce44c604d86d1f21c2701d7e581f (patch)
treebca7dc409238d532748ec23f9ffb89c7d4f99e01 /Lib
parent5f5cfd121db044b5adf5d9da29fed0d31fec1814 (diff)
downloadcpython-e2e23ef97da1ce44c604d86d1f21c2701d7e581f.zip
cpython-e2e23ef97da1ce44c604d86d1f21c2701d7e581f.tar.gz
cpython-e2e23ef97da1ce44c604d86d1f21c2701d7e581f.tar.bz2
Remove the UNARY_CONVERT opcode (was used for backticks). Also bumped up the
import MAGIC number.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/compiler/pycodegen.py3
-rw-r--r--Lib/opcode.py1
2 files changed, 0 insertions, 4 deletions
diff --git a/Lib/compiler/pycodegen.py b/Lib/compiler/pycodegen.py
index db2251e..cc197e3 100644
--- a/Lib/compiler/pycodegen.py
+++ b/Lib/compiler/pycodegen.py
@@ -1207,9 +1207,6 @@ class CodeGenerator:
def visitNot(self, node):
return self.unaryOp(node, 'UNARY_NOT')
- def visitBackquote(self, node):
- return self.unaryOp(node, 'UNARY_CONVERT')
-
# bit ops
def bitOp(self, nodes, op):
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 573a7b0..c2d7a59 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -54,7 +54,6 @@ def_op('NOP', 9)
def_op('UNARY_POSITIVE', 10)
def_op('UNARY_NEGATIVE', 11)
def_op('UNARY_NOT', 12)
-def_op('UNARY_CONVERT', 13)
def_op('UNARY_INVERT', 15)