Lines Matching refs:pair
38 4. have the value stored for each key be a (value, node) pair, and adjust
1101 Remove and return a (key, value) pair from the dictionary.
1393 PyObject *pair;
1401 pair = PyTuple_Pack(2, key, value);
1402 if (pair == NULL)
1406 PyList_SET_ITEM(pieces, count, pair); /* steals reference */
1408 if (PyList_Append(pieces, pair) < 0) {
1409 Py_DECREF(pair);
1412 Py_DECREF(pair);
2134 PyObject *pair, *iterator, *unexpected;
2142 while ((pair = PyIter_Next(iterator)) != NULL) {
2145 PyObject *pair_iterator = PyObject_GetIter(pair);
2178 Py_DECREF(pair);