mirror of
https://github.com/python/cpython
synced 2026-09-29 11:15:30 +03:00
Remove the UNARY_CONVERT opcode (was used for backticks). Also bumped up the
import MAGIC number.
This commit is contained in:
parent
5f5cfd121d
commit
e2e23ef97d
12 changed files with 4 additions and 74 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue