Mercurial > cpython-lru_cache-weakref
diff Include/Python-ast.h @ 37685:5e72b0c74100 legacy-trunk
Introduce asdl_int_seq, to hold cmpop_ty.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Thu, 13 Apr 2006 12:29:43 +0000 |
| parents | 44fb03a6a524 |
| children | b051d197f7a4 |
line wrap: on
line diff
--- a/Include/Python-ast.h Thu Apr 13 12:09:08 2006 +0000 +++ b/Include/Python-ast.h Thu Apr 13 12:29:43 2006 +0000 @@ -240,7 +240,7 @@ struct { expr_ty left; - asdl_seq *ops; + asdl_int_seq *ops; asdl_seq *comparators; } Compare; @@ -409,7 +409,7 @@ expr_ty GeneratorExp(expr_ty elt, asdl_seq * generators, int lineno, int col_offset, PyArena *arena); expr_ty Yield(expr_ty value, int lineno, int col_offset, PyArena *arena); -expr_ty Compare(expr_ty left, asdl_seq * ops, asdl_seq * comparators, int +expr_ty Compare(expr_ty left, asdl_int_seq * ops, asdl_seq * comparators, int lineno, int col_offset, PyArena *arena); expr_ty Call(expr_ty func, asdl_seq * args, asdl_seq * keywords, expr_ty starargs, expr_ty kwargs, int lineno, int col_offset, PyArena
