Home | History | Annotate | Download | only in Python

Lines Matching refs:Tuple

395             PyObject *tuple, *item = PyInt_FromLong(i);

402 tuple = PyTuple_Pack(2, k, k->ob_type);
403 if (!tuple || PyDict_SetItem(dest, tuple, item) < 0) {
407 Py_XDECREF(tuple);
411 Py_DECREF(tuple);
953 /* all we need is to make the tuple different in either the 0.0
1450 /* push the tuple of base classes on the stack */
2089 asdl_seq_LEN(s->v.Assert.test->v.Tuple.elts) > 0) {
2520 int n = asdl_seq_LEN(e->v.Tuple.elts);
2521 if (e->v.Tuple.ctx == Store) {
2524 VISIT_SEQ(c, expr, e->v.Tuple.elts);
2525 if (e->v.Tuple.ctx == Load) {
3129 /* child nodes of List and Tuple will have expr_context set */
3785 PyObject *tuple, *k, *v;
3788 tuple = PyTuple_New(size);
3789 if (tuple == NULL)
3799 PyTuple_SET_ITEM(tuple, i - offset, k);
3801 return tuple;
3887 tmp = PyList_AsTuple(consts); /* PyCode_New requires a tuple */