Searched refs:newtuple (Results 1 – 1 of 1) sorted by relevance
487 PyObject *newtuple; in validate_and_copy_tuple() local492 newtuple = PyTuple_New(len); in validate_and_copy_tuple()493 if (newtuple == NULL) in validate_and_copy_tuple()507 Py_DECREF(newtuple); in validate_and_copy_tuple()513 Py_DECREF(newtuple); in validate_and_copy_tuple()517 PyTuple_SET_ITEM(newtuple, i, item); in validate_and_copy_tuple()520 return newtuple; in validate_and_copy_tuple()