Lines Matching defs:mapping
2276 mapping: object
2280 Count elements in the iterable, updating the mapping
2284 _collections__count_elements_impl(PyObject *module, PyObject *mapping,
2305 mapping_get = _PyType_Lookup(Py_TYPE(mapping), &_Py_ID(get));
2307 mapping_setitem = _PyType_Lookup(Py_TYPE(mapping), &_Py_ID(__setitem__));
2312 PyDict_Check(mapping))
2339 oldval = _PyDict_GetItem_KnownHash(mapping, key, hash);
2343 if (_PyDict_SetItem_KnownHash(mapping, key, one, hash) < 0)
2349 if (_PyDict_SetItem_KnownHash(mapping, key, newval, hash) < 0)
2357 bound_get = PyObject_GetAttr(mapping, &_Py_ID(get));
2373 if (PyObject_SetItem(mapping, key, newval) < 0)