diff options
author | Brett Cannon <bcannon@gmail.com> | 2006-08-25 05:05:30 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2006-08-25 05:05:30 (GMT) |
commit | e2e23ef97da1ce44c604d86d1f21c2701d7e581f (patch) | |
tree | bca7dc409238d532748ec23f9ffb89c7d4f99e01 /Include/Python-ast.h | |
parent | 5f5cfd121db044b5adf5d9da29fed0d31fec1814 (diff) | |
download | cpython-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 'Include/Python-ast.h')
-rw-r--r-- | Include/Python-ast.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Include/Python-ast.h b/Include/Python-ast.h index 3e21030..8fd8ceb 100644 --- a/Include/Python-ast.h +++ b/Include/Python-ast.h @@ -186,9 +186,8 @@ struct _stmt { enum _expr_kind {BoolOp_kind=1, BinOp_kind=2, UnaryOp_kind=3, Lambda_kind=4, IfExp_kind=5, Dict_kind=6, ListComp_kind=7, GeneratorExp_kind=8, Yield_kind=9, Compare_kind=10, - Call_kind=11, Repr_kind=12, Num_kind=13, Str_kind=14, - Attribute_kind=15, Subscript_kind=16, Name_kind=17, - List_kind=18, Tuple_kind=19}; + Call_kind=11, Num_kind=12, Str_kind=13, Attribute_kind=14, + Subscript_kind=15, Name_kind=16, List_kind=17, Tuple_kind=18}; struct _expr { enum _expr_kind kind; union { @@ -253,10 +252,6 @@ struct _expr { } Call; struct { - expr_ty value; - } Repr; - - struct { object n; } Num; @@ -414,7 +409,6 @@ expr_ty Compare(expr_ty left, asdl_int_seq * ops, asdl_seq * comparators, int expr_ty Call(expr_ty func, asdl_seq * args, asdl_seq * keywords, expr_ty starargs, expr_ty kwargs, int lineno, int col_offset, PyArena *arena); -expr_ty Repr(expr_ty value, int lineno, int col_offset, PyArena *arena); expr_ty Num(object n, int lineno, int col_offset, PyArena *arena); expr_ty Str(string s, int lineno, int col_offset, PyArena *arena); expr_ty Attribute(expr_ty value, identifier attr, expr_context_ty ctx, int |