Home | History | Annotate | Download | only in Python

Lines Matching refs:Tuple

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

381 tuple = PyTuple_Pack(2, k, k->ob_type);
382 if (!tuple || PyDict_SetItem(dest, tuple, item) < 0) {
385 Py_XDECREF(tuple);
389 Py_DECREF(tuple);
930 /* all we need is to make the tuple different in either the 0.0
1427 /* push the tuple of base classes on the stack */
2067 asdl_seq_LEN(s->v.Assert.test->v.Tuple.elts) > 0) {
2500 int n = asdl_seq_LEN(e->v.Tuple.elts);
2501 if (e->v.Tuple.ctx == Store) {
2504 VISIT_SEQ(c, expr, e->v.Tuple.elts);
2505 if (e->v.Tuple.ctx == Load) {
3109 /* child nodes of List and Tuple will have expr_context set */
3761 PyObject *tuple, *k, *v;
3764 tuple = PyTuple_New(size);
3765 if (tuple == NULL)
3775 PyTuple_SET_ITEM(tuple, i - offset, k);
3777 return tuple;
3863 tmp = PyList_AsTuple(consts); /* PyCode_New requires a tuple */