Home
last modified time | relevance | path

Searched refs:PyDict_GetItemWithError (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython3/Include/cpython/
Dodictobject.h32 PyDict_GetItemWithError(_PyObject_CAST(od), (key))
/external/python/cpython3/Include/
Ddictobject.h23 PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key);
/external/python/cpython3/Modules/
Dxxmodule.c68 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Xxo_getattro()
Dxxlimited_35.c86 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Xxo_getattro()
Dxxlimited.c160 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Xxo_getattro()
Dmain.c162 sys_path = PyDict_GetItemWithError(sysdict, &_Py_ID(path)); in pymain_sys_path_add_path0()
D_testmultiphase.c78 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Example_getattro()
D_pickle.c3542 item = PyDict_GetItemWithError(st->name_mapping_3to2, key); in fix_imports()
3577 item = PyDict_GetItemWithError(st->import_mapping_3to2, *module_name); in fix_imports()
4393 reduce_func = PyDict_GetItemWithError(st->dispatch_table, in save()
6238 obj = PyDict_GetItemWithError(st->extension_cache, py_code); in load_extension()
6251 pair = PyDict_GetItemWithError(st->inverted_registry, py_code); in load_extension()
7044 item = PyDict_GetItemWithError(st->name_mapping_2to3, key); in _pickle_Unpickler_find_class_impl()
7070 item = PyDict_GetItemWithError(st->import_mapping_2to3, module_name); in _pickle_Unpickler_find_class_impl()
D_elementtree.c1420 PyObject *value = Py_XNewRef(PyDict_GetItemWithError(attrib, key)); in _elementtree_Element_get_impl()
3081 value = Py_XNewRef(PyDict_GetItemWithError(self->names, key)); in makeuniversal()
3203 value = PyDict_GetItemWithError(self->entity, key); in expat_default_handler()
D_hashopenssl.c435 name_obj = PyDict_GetItemWithError(state->constructs, digestmod); in py_digest_by_digestmod()
/external/python/cpython3/Objects/
Dnamespaceobject.c123 value = PyDict_GetItemWithError(d, key); in namespace_repr()
Dobject.c2390 PyObject *baseobj_reduce = PyDict_GetItemWithError(baseobj_dict, &_Py_ID(__reduce__)); in _PyTypes_InitTypes()
2728 list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr)); in Py_ReprEnter()
2763 list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr)); in Py_ReprLeave()
Dstructseq.c29 PyObject *v = PyDict_GetItemWithError(_PyType_GetDict(tp), name); in get_type_attr_as_size()
Dmoduleobject.c1116 PyObject *dirfunc = PyDict_GetItemWithError(dict, &_Py_ID(__dir__)); in module_dir()
/external/python/cpython3/Modules/_testlimitedcapi/
Ddict.c113 PyObject *value = PyDict_GetItemWithError(mapping, key); in dict_getitemwitherror()
/external/python/cpython3/Doc/c-api/
Ddict.rst127 Prefer the :c:func:`PyDict_GetItemWithError` function instead.
134 .. c:function:: PyObject* PyDict_GetItemWithError(PyObject *p, PyObject *key)
153 Prefer using the :c:func:`PyDict_GetItemWithError` function with your own
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b3.rst179 Set KeyError if PyDict_GetItemWithError returns NULL.
/external/python/cpython3/Python/
Dsymtable.c512 PyObject *v = PyDict_GetItemWithError(ste->ste_symbols, name); in _PyST_GetSymbol()
781 PyObject *existing = PyDict_GetItemWithError(ste->ste_symbols, k); in inline_comprehension()
925 v_scope = PyDict_GetItemWithError(scopes, name); in update_symbols()
951 v = PyDict_GetItemWithError(symbols, name); in update_symbols()
1398 if ((o = PyDict_GetItemWithError(dict, mangled))) { in symtable_add_def_helper()
1455 if ((o = PyDict_GetItemWithError(st->st_global, mangled))) { in symtable_add_def_helper()
Dpylifecycle.c802 PyObject *isinstance = PyDict_GetItemWithError(builtins_dict, &_Py_ID(isinstance)); in pycore_init_builtins()
808 PyObject *len = PyDict_GetItemWithError(builtins_dict, &_Py_ID(len)); in pycore_init_builtins()
1333 PyObject *sys_path = PyDict_GetItemWithError(sysdict, &_Py_ID(path)); in init_interp_main()
/external/pytorch/torch/csrc/utils/
Dpythoncapi_compat.h259 value = PyDict_GetItemWithError(locals, name); in PyFrame_GetVar()
/external/python/cpython3/Doc/howto/
Dfree-threading-extensions.rst156 | :c:func:`PyDict_GetItemWithError` | :c:func:`PyDict_GetItemRef` |
/external/python/cpython3/Modules/_sqlite/
Dcursor.c209 retval = PyDict_GetItemWithError(state->converters, upcase_key); in _pysqlite_get_converter()
/external/python/cpython3/PC/
Dpython3dll.c182 EXPORT_FUNC(PyDict_GetItemWithError)
/external/python/cpython3/Doc/data/
Dstable_abi.dat119 func,PyDict_GetItemWithError,3.2,,
Drefcounts.dat530 PyDict_GetItemWithError:PyObject*::0:0
531 PyDict_GetItemWithError:PyObject*:p:0:
532 PyDict_GetItemWithError:PyObject*:key:0:

12