diff options
author | Brett Cannon <bcannon@gmail.com> | 2006-08-25 04:28:18 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2006-08-25 04:28:18 (GMT) |
commit | cf588f6448f8adfa12886f42db4d1c4ad3544da5 (patch) | |
tree | 47cb062874fff18940e7efee1d9001920753fbad /Python/compile.c | |
parent | 8b6de130c64ace2a5bd56ec619eb54216676b613 (diff) | |
download | cpython-cf588f6448f8adfa12886f42db4d1c4ad3544da5.zip cpython-cf588f6448f8adfa12886f42db4d1c4ad3544da5.tar.gz cpython-cf588f6448f8adfa12886f42db4d1c4ad3544da5.tar.bz2 |
Remove support for backticks from the grammar and compiler.
Still need to remove traces of the UNARY_CONVERT opcode.
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/compile.c b/Python/compile.c index 464c953..4601f2c 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -721,7 +721,6 @@ opcode_stack_effect(int opcode, int oparg) case UNARY_POSITIVE: case UNARY_NEGATIVE: case UNARY_NOT: - case UNARY_CONVERT: case UNARY_INVERT: return 0; @@ -2983,10 +2982,6 @@ compiler_visit_expr(struct compiler *c, expr_ty e) return compiler_compare(c, e); case Call_kind: return compiler_call(c, e); - case Repr_kind: - VISIT(c, expr, e->v.Repr.value); - ADDOP(c, UNARY_CONVERT); - break; case Num_kind: ADDOP_O(c, LOAD_CONST, e->v.Num.n, consts); break; |