Searched refs:defaultobj (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Include/cpython/ |
D | dictobject.h | 40 PyObject *mp, PyObject *key, PyObject *defaultobj);
|
/external/python/cpython3/Doc/c-api/ |
D | dict.rst | 125 .. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *defaultobj) 129 is not in the dict, it is inserted with value *defaultobj* and *defaultobj*
|
/external/python/cpython3/Objects/ |
D | dictobject.c | 2918 PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *defaultobj) in PyDict_SetDefault() argument 2936 if (insert_to_emptydict(mp, key, hash, defaultobj) < 0) { in PyDict_SetDefault() 2939 return defaultobj; in PyDict_SetDefault() 2962 value = defaultobj; in PyDict_SetDefault() 2991 value = defaultobj; in PyDict_SetDefault()
|