Home
last modified time | relevance | path

Searched refs:PyObject_SetItem (Results 1 – 22 of 22) sorted by relevance

/third_party/python/Doc/c-api/
Dmapping.rst8 See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and
40 See also :c:func:`PyObject_SetItem`. This function *does not* steal a
Dintro.rst362 :c:func:`PySequence_SetItem` and :c:func:`PyObject_SetItem` refuse to do this
380 It is much more common to use :c:func:`PyObject_SetItem` and friends with items
399 if (PyObject_SetItem(target, index, item) < 0) {
620 if (PyObject_SetItem(dict, key, incremented_item) < 0)
Dobject.rst330 .. c:function:: int PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v)
Dtypeobj.rst2219 This function is used by :c:func:`PyObject_SetItem`,
2222 :c:func:`!PyObject_SetItem`, but *v* can also be set to ``NULL`` to delete
2275 signature. It is also used by :c:func:`PyObject_SetItem` and
/third_party/python/Objects/
Dodictobject.c1037 else if (PyObject_SetItem((PyObject *)self, key, default_value) >= 0) { in OrderedDict_setdefault_impl()
1270 res = PyObject_SetItem((PyObject *)od_copy, in odict_copy()
2228 res = PyObject_SetItem(self, key, value); in mutablemapping_add_pairs()
2279 res = PyObject_SetItem(self, key, value); in mutablemapping_update_arg()
Dweakrefobject.c633 res = PyObject_SetItem(obj, key, value); in WRAP_BINARY()
Dframeobject.c952 if (PyObject_SetItem(dict, key, value) != 0) in map_to_dict()
Dabstract.c201 PyObject_SetItem(PyObject *o, PyObject *key, PyObject *value) in PyObject_SetItem() function
2379 r = PyObject_SetItem(o, okey, value); in PyMapping_SetItemString()
Ddictobject.c2035 status = PyObject_SetItem(d, key, value); in _PyDict_FromKeys()
/third_party/python/Python/
Dimport.c307 return PyObject_SetItem(modules, name, m); in _PyImport_SetModule()
436 if (PyObject_SetItem(modules, name, mod) < 0) { in _PyImport_FixupExtensionObject()
542 if (PyObject_SetItem(modules, name, mod) == -1) { in import_find_extension()
616 if (PyObject_SetItem(modules, name, m) != 0) { in import_add_module()
Dceval.c2372 err = PyObject_SetItem(container, sub, v); in _PyEval_EvalFrameDefault()
2772 err = PyObject_SetItem(ns, name, v); in _PyEval_EvalFrameDefault()
3313 err = PyObject_SetItem(f->f_locals, ann_str, ann_dict); in _PyEval_EvalFrameDefault()
6168 err = PyObject_SetItem(locals, name, value); in import_all_from()
Dpylifecycle.c1370 if (PyObject_SetItem(modules, name, Py_None) < 0) { \ in finalize_remove_modules()
/third_party/python/Include/
Dabstract.h297 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/third_party/python/Doc/data/
Drefcounts.dat1794 PyObject_SetItem:int:::
1795 PyObject_SetItem:PyObject*:o:0:
1796 PyObject_SetItem:PyObject*:key:0:
1797 PyObject_SetItem:PyObject*:v:+1:
Dstable_abi.dat518 function,PyObject_SetItem,3.2,
/third_party/python/PC/
Dpython3dll.c474 EXPORT_FUNC(PyObject_SetItem)
/third_party/python/Modules/
D_collectionsmodule.c2011 if (PyObject_SetItem((PyObject *)dd, key, value) < 0) { in defdict_missing()
2399 if (PyObject_SetItem(mapping, key, newval) < 0) in _collections__count_elements_impl()
D_operator.c553 if (-1 == PyObject_SetItem(a, b, c)) in _operator_setitem_impl()
D_pickle.c6556 if (PyObject_SetItem(dict, key, value) < 0) { in do_setitems()
6710 if (PyObject_SetItem(dict, d_key, d_value) < 0) { in load_build()
/third_party/python/Misc/NEWS.d/
D3.9.0a4.rst663 PyObject_SetItem - PyMapping_SetItemString - PyDict_SetItem -
/third_party/python/Misc/
Dstable_abi.txt1117 function PyObject_SetItem
/third_party/python/Doc/whatsnew/
D2.5.rst1733 ctypes.pythonapi.PyObject_SetItem(ctypes.py_object(d),