diff Python/compile.c @ 39676:eb2f70fdbf32

Remove support for backticks from the grammar and compiler. Still need to remove traces of the UNARY_CONVERT opcode.
author Brett Cannon <bcannon@gmail.com>
date Fri, 25 Aug 2006 04:28:18 +0000
parents 472ca7006f70
children d0b83c4630c0
line wrap: on
line diff
--- a/Python/compile.c	Fri Aug 25 04:24:12 2006 +0000
+++ b/Python/compile.c	Fri Aug 25 04:28:18 2006 +0000
@@ -721,7 +721,6 @@
 		case UNARY_POSITIVE:
 		case UNARY_NEGATIVE:
 		case UNARY_NOT:
-		case UNARY_CONVERT:
 		case UNARY_INVERT:
 			return 0;
 
@@ -2983,10 +2982,6 @@
 		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;