Lines Matching defs:items
61 calls to values() and items(). However, it adds unnecessary overhead
121 items X X X
294 items - dictitems_new
331 items
342 items MutableMapping - ItemsView X
387 items odictitems_new
419 During iteration through an OrderedDict, it is possible that items could
425 implementation) for __iter__(), keys(), values(), and items().
951 PyObject *items_iter, *items, *args = NULL;
963 items = PyObject_CallMethodNoArgs((PyObject *)od, &_Py_ID(items));
964 if (items == NULL)
967 items_iter = PyObject_GetIter(items);
968 Py_DECREF(items);
1146 /* items() */
1148 /* MutableMapping.items() does not have a docstring. */
1166 "od.clear() -> None. Remove all items from od.");
1318 {"items", odictitems_new, METH_NOARGS,
1421 PyObject *items = PyObject_CallMethodNoArgs(
1422 (PyObject *)self, &_Py_ID(items));
1423 if (items == NULL)
1425 pieces = PySequence_List(items);
1426 Py_DECREF(items);
1638 * The OrderedDict views (keys/values/items)
1757 /* Handle the items case. */
1953 /* items() */
2097 __eq__ items
2103 items ItemsView
2198 PyObject *items = PyDict_Items(arg);
2199 if (items == NULL) {
2202 res = mutablemapping_add_pairs(self, items);
2203 Py_DECREF(items);
2239 if (_PyObject_LookupAttr(arg, &_Py_ID(items), &func) < 0) {
2243 PyObject *items = _PyObject_CallNoArgs(func);
2245 if (items == NULL) {
2248 res = mutablemapping_add_pairs(self, items);
2249 Py_DECREF(items);
2283 PyObject *items = PyDict_Items(kwargs);
2284 if (items == NULL)
2286 res = mutablemapping_add_pairs(self, items);
2287 Py_DECREF(items);