Searched refs:defaultobj (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Include/cpython/ |
D | dictobject.h | 36 PyObject *mp, PyObject *key, PyObject *defaultobj);
|
/third_party/python/Doc/c-api/ |
D | dict.rst | 129 .. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *defaultobj) 133 is not in the dict, it is inserted with value *defaultobj* and *defaultobj*
|
/third_party/python/Objects/ |
D | dictobject.c | 3021 PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *defaultobj) in PyDict_SetDefault() argument 3039 if (insert_to_emptydict(mp, key, hash, defaultobj) < 0) { in PyDict_SetDefault() 3042 return defaultobj; in PyDict_SetDefault() 3065 value = defaultobj; in PyDict_SetDefault() 3097 value = defaultobj; in PyDict_SetDefault()
|