Home | History | Annotate | Download | only in Python

Lines Matching refs:Tuple

395             PyObject *tuple, *item = PyInt_FromLong(i);
402 tuple = _PyCode_ConstantKey(k);
403 if (!tuple || PyDict_SetItem(dest, tuple, item) < 0) {
407 Py_XDECREF(tuple);
411 Py_DECREF(tuple);
1409 /* push the tuple of base classes on the stack */
2050 asdl_seq_LEN(s->v.Assert.test->v.Tuple.elts) > 0) {
2481 int n = asdl_seq_LEN(e->v.Tuple.elts);
2482 if (e->v.Tuple.ctx == Store) {
2485 VISIT_SEQ(c, expr, e->v.Tuple.elts);
2486 if (e->v.Tuple.ctx == Load) {
3090 /* child nodes of List and Tuple will have expr_context set */
3746 PyObject *tuple, *k, *v;
3749 tuple = PyTuple_New(size);
3750 if (tuple == NULL)
3760 PyTuple_SET_ITEM(tuple, i - offset, k);
3762 return tuple;
3848 tmp = PyList_AsTuple(consts); /* PyCode_New requires a tuple */