Home | History | Annotate | Download | only in Modules

Lines Matching defs:tuple

2706     PyObject *tuple, *result;
2720 tuple = Py_BuildValue("(ss)", "", "");
2721 result = PyEval_CallObject(comparator, tuple);
2722 Py_DECREF(tuple);
2820 PyObject *tuple, *result;
2834 tuple = Py_BuildValue("(ss)", "", "");
2835 result = PyEval_CallObject(comparator, tuple);
2836 Py_DECREF(tuple);
5672 PyObject *tuple;
5687 ** actually allows for tuple resizing,
5692 tuple = PyTuple_New(size);
5693 if (!tuple)
5699 Py_DECREF(tuple);
5700 tuple = NULL;
5703 PyTuple_SET_ITEM(tuple, i, item);
5705 return tuple;
6113 PyObject *list, *tuple, *gid;
6154 tuple=PyTuple_New(2);
6155 if (!tuple) {
6161 if (PyTuple_SetItem(tuple, 0, gid)) {
6165 Py_DECREF(tuple);
6168 if (PyTuple_SetItem(tuple, 1, (PyObject *)txn)) {
6171 Py_DECREF(tuple); /* This delete the "gid" also */
6174 if (PyList_Append(list, tuple)) {
6176 Py_DECREF(tuple);/* This delete the "gid" and the "txn" also */
6179 Py_DECREF(tuple);
7958 PyObject *stats, *key, *tuple;
7979 tuple=Py_BuildValue("(sII)", listp[countp].host,
7981 if(!tuple) {
7987 if(PyDict_SetItem(stats, key, tuple)) {
7989 Py_DECREF(tuple);
7995 Py_DECREF(tuple);
9534 "Returns a tuple of major, minor, and patch release numbers of the\n\
10210 /* Since Python 2.5, PyErr_NewException() accepts a tuple, to be able to