Home
last modified time | relevance | path

Searched refs:PyDict_SetDefault (Results 1 – 14 of 14) sorted by relevance

/third_party/python/Include/cpython/
Ddictobject.h35 PyAPI_FUNC(PyObject *) PyDict_SetDefault(
/third_party/python/Misc/NEWS.d/
D3.6.0b4.rst76 PyDict_SetDefault didn't combine split table when needed. Patch by Xiang
D3.7.0a1.rst1184 PyDict_SetDefault didn't combine split table when needed. Patch by Xiang
/third_party/python/Doc/c-api/
Ddict.rst129 .. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *defaultobj)
/third_party/python/Doc/data/
Drefcounts.dat523 PyDict_SetDefault:PyObject*::0:
524 PyDict_SetDefault:PyObject*:p:0:
525 PyDict_SetDefault:PyObject*:key:0:conditionally +1 if inserted into the dict
526 PyDict_SetDefault:PyObject*:default:0:conditionally +1 if inserted into the dict
/third_party/python/Objects/
Ddictobject.c2521 if (PyDict_SetDefault(d, key, value) == NULL) { in PyDict_MergeFromSeq2()
3021 PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *defaultobj) in PyDict_SetDefault() function
3130 val = PyDict_SetDefault((PyObject *)self, key, default_value); in dict_setdefault_impl()
Dtypeobject.c5599 err = PyDict_SetDefault(type->tp_dict, name, descr) == NULL; in type_add_method()
5647 if (PyDict_SetDefault(dict, PyDescr_NAME(descr), descr) == NULL) { in type_add_members()
5672 if (PyDict_SetDefault(dict, PyDescr_NAME(descr), descr) == NULL) { in type_add_getset()
Dunicodeobject.c15869 PyObject *t = PyDict_SetDefault(interned, s, s); in PyUnicode_InternInPlace()
/third_party/python/Modules/
Dpyexpat.c1612 if (PyDict_SetDefault(state->xml_parse_type->tp_dict, PyDescr_NAME(descr), descr) == NULL) { in init_handler_descrs()
D_json.c724 memokey = PyDict_SetDefault(s->memo, key, key); in _parse_object_unicode()
D_zoneinfo.c746 rv = PyDict_SetDefault(TIMEDELTA_CACHE, pyoffset, tmp); in load_timedelta()
Dposixmodule.c1651 if (PyDict_SetDefault(d, k, v) == NULL) { in convertenviron()
/third_party/python/Python/
Dcompile.c1314 PyObject *t = PyDict_SetDefault(c->c_const_cache, key, key); in merge_consts_recursive()
6848 PyObject *t = PyDict_SetDefault(c->c_const_cache, key, key); in merge_const_one()
/third_party/python/Misc/
DHISTORY6298 - Issue #17327: Add PyDict_SetDefault.