Lines Matching defs:item
94 One exception is .popitem(). It removes last item in dk_entries and decrement
1160 /* Internal function to find slot for an item from its hash
1220 Internal routine to insert a new item into the table.
2608 PyObject *item;
2620 item = PyTuple_New(2);
2621 if (item == NULL) {
2625 PyList_SET_ITEM(v, i, item);
2640 PyObject *item = PyList_GET_ITEM(v, j);
2642 PyTuple_SET_ITEM(item, 0, key);
2644 PyTuple_SET_ITEM(item, 1, value);
2735 PyObject *item; /* seq2[i] */
2736 PyObject *fast; /* item as a 2-tuple or 2-list */
2751 item = PyIter_Next(it);
2752 if (item == NULL) {
2758 /* Convert item to sequence, and verify length 2. */
2759 fast = PySequence_Fast(item, "");
2800 Py_DECREF(item);
2807 Py_XDECREF(item);
3483 /* Pop last item */
3902 _PyDict_SetItemId(PyObject *v, _Py_Identifier *key, PyObject *item)
3908 return PyDict_SetItem(v, kv, item);
3912 PyDict_SetItemString(PyObject *v, const char *key, PyObject *item)
3920 err = PyDict_SetItem(v, kv, item);
5029 PyObject *item = NULL;
5057 while ((item = PyIter_Next(it)) != NULL) {
5058 int contains = PySequence_Contains(self, item);
5059 Py_DECREF(item);