mirror of
https://github.com/python/cpython.git
synced 2025-09-15 05:06:12 +00:00
Introduce asdl_int_seq, to hold cmpop_ty.
This commit is contained in:
parent
0f1955daee
commit
0cc56e5c59
7 changed files with 44 additions and 23 deletions
|
@ -240,7 +240,7 @@ struct _expr {
|
|||
|
||||
struct {
|
||||
expr_ty left;
|
||||
asdl_seq *ops;
|
||||
asdl_int_seq *ops;
|
||||
asdl_seq *comparators;
|
||||
} Compare;
|
||||
|
||||
|
@ -409,7 +409,7 @@ expr_ty ListComp(expr_ty elt, asdl_seq * generators, int lineno, int
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue