Home | History | Annotate | Download | only in Modules

Lines Matching defs:tuple

417                 PyErr_SetString(PyExc_OverflowError, "tuple is too long");
574 lists. SplitObj walks through a nested tuple, finding string objects that
586 /* Recursively invoke SplitObj for all tuple items.
1148 PyErr_SetString(PyExc_OverflowError, "tuple is too long");
1478 PyErr_SetString(PyExc_OverflowError, "tuple is too long");
1604 /* If args is a single tuple, replace with contents of tuple */
2446 * Tkapp_CreateCommand() that the client data is a two-tuple
3315 PyObject* tuple;
3323 /* expand tuple to hold (at least) size new items.
3333 return _PyTuple_Resize(&context->tuple, maxsize) >= 0;
3339 /* add tuple or list to argument tuple (recursively) */
3353 /* copy items to output tuple */
3364 PyTuple_SET_ITEM(context->tuple,
3384 PyTuple_SET_ITEM(context->tuple,
3410 context.tuple = PyTuple_New(context.maxsize);
3411 if (!context.tuple)
3419 if (_PyTuple_Resize(&context.tuple, context.size))
3422 return context.tuple;