Home
last modified time | relevance | path

Searched refs:defaultobj (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Include/cpython/
Ddictobject.h40 PyObject *mp, PyObject *key, PyObject *defaultobj);
/external/python/cpython3/Doc/c-api/
Ddict.rst125 .. 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/
Ddictobject.c2918 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()