Home | History | Annotate | Download | only in Python

Lines Matching refs:Tuple

408             if (asdl_seq_LEN(e->v.Tuple.elts))  {
409 e->v.Tuple.ctx = ctx;
410 s = e->v.Tuple.elts;
473 /* If the LHS is a list or tuple, we need to set the assignment
653 result = Tuple(args, Store, LINENO(n), n->n_col_offset, c->c_arena);
722 def f((x, (y))): pass will just incur the tuple unpacking warning. */
737 "tuple parameter unpacking has been removed in 3.x"))
745 /* Loop because there can be many parens and tuple
1108 [x for x, in ... ] has 1 element in t, but still requires a Tuple.
1114 lc = comprehension(Tuple(t, Store, first->lineno, first->col_offset,
1250 (x for x, in ...) has 1 element in t, but still requires a Tuple. */
1255 comp = comprehension(Tuple(t, Store, first->lineno, first->col_offset,
1416 return Tuple(NULL, Load, LINENO(n), n->n_col_offset, c->c_arena);
1685 tuple literal if there are
1708 /* extract Index values and put them in a Tuple */
1717 e = Tuple(elts, Load, LINENO(n), n->n_col_offset, c->c_arena);
2136 return Tuple(tmp, Load, LINENO(n), n->n_col_offset, c->c_arena);
2684 (asdl_seq_LEN(expr1->v.Tuple.elts) == 2 ||
2685 asdl_seq_LEN(expr1->v.Tuple.elts) == 3)) {
2686 /* Backwards compatibility: passing exec args as a tuple */
2687 globals = asdl_seq_GET(expr1->v.Tuple.elts, 1);
2688 if (asdl_seq_LEN(expr1->v.Tuple.elts) == 3) {
2689 locals = asdl_seq_GET(expr1->v.Tuple.elts, 2);
2691 expr1 = asdl_seq_GET(expr1->v.Tuple.elts, 0);
2989 for x, in ... has 1 element in _target, but still requires a Tuple. */
2994 target = Tuple(_target, Store, first->lineno, first->col_offset, c->c_arena);