Home
last modified time | relevance | path

Searched refs:PyType_GetModuleByDef (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython3/Modules/_sqlite/
Dmodule.h88 PyObject *module = PyType_GetModuleByDef(tp, &_sqlite3module); in pysqlite_get_state_by_type()
/external/python/cpython3/Modules/
D_ssl.h50 (get_ssl_state(PyType_GetModuleByDef(type, &_sslmodule_def)))
D_testmultiphase.c153 assert(PyType_GetModuleByDef(Py_TYPE(self), &def_meth_state_access) == retval); in _testmultiphase_StateAccessType_get_defining_module_impl()
171 PyType_GetModuleByDef(Py_TYPE(self), &def_nonmodule); // should raise in _testmultiphase_StateAccessType_getmodulebydef_bad_def_impl()
D_queuemodule.c24 (simplequeue_get_state(PyType_GetModuleByDef(type, &queuemodule)))
D_threadmodule.c791 PyObject *module = PyType_GetModuleByDef(type, &thread_module); in local_new()
940 PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &thread_module); in local_setattro()
992 PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &thread_module); in local_getattro()
D_randommodule.c102 (get_random_state(PyType_GetModuleByDef(type, &_randommodule)))
D_functoolsmodule.c54 PyObject *module = PyType_GetModuleByDef(type, &_functools_module); in get_functools_state_by_type()
D_csv.c383 PyObject *module = PyType_GetModuleByDef(type, &_csvmodule); in _csv_state_from_type()
D_struct.c40 (get_struct_state(PyType_GetModuleByDef(Py_TYPE(self), &_structmodule)))
Darraymodule.c75 (get_array_state(PyType_GetModuleByDef(tp, &arraymodule)))
D_ssl.c3029 PyObject *module = PyType_GetModuleByDef(type, &_sslmodule_def); in _ssl__SSLContext_impl()
/external/python/cpython3/Python/
DPython-tokenize.c16 get_tokenize_state(PyType_GetModuleByDef(type, &_tokenizemodule))
/external/python/cpython3/Doc/howto/
Disolating-extensions.rst476 :c:func:`PyType_GetModuleByDef` function, and pass in the module definition.
480 PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &module_def);
486 ``PyType_GetModuleByDef`` works by searching the
493 created from the same definition), ``PyType_GetModuleByDef`` might not
Dclinic.rst1269 fetch the module state from such methods, use :c:func:`PyType_GetModuleByDef`
1277 PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &thread_module);
/external/python/cpython3/Include/cpython/
Dobject.h273 PyAPI_FUNC(PyObject *) PyType_GetModuleByDef(PyTypeObject *, PyModuleDef *);
/external/python/cpython3/Doc/c-api/
Dtype.rst152 See :c:func:`PyType_GetModuleByDef` for cases when ``PyCMethod`` cannot
171 .. c:function:: PyObject* PyType_GetModuleByDef(PyTypeObject *type, struct PyModuleDef *def)
/external/python/cpython3/Misc/NEWS.d/
D3.11.0a6.rst1205 Added function :c:func:`PyType_GetModuleByDef`, which allows accesss to
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c36 PyObject *module = PyType_GetModuleByDef(type, &_multibytecodecmodule); in _multibyte_codec_find_state_by_type()
/external/python/cpython3/Objects/
Dtypeobject.c3719 PyType_GetModuleByDef(PyTypeObject *type, PyModuleDef *def) in PyType_GetModuleByDef() function
/external/python/cpython3/Doc/whatsnew/
D3.11.rst2232 * Added the :c:data:`PyType_GetModuleByDef` function, used to get the module
/external/python/cpython3/Doc/data/
Dpython3.11.abi724 …<elf-symbol name='PyType_GetModuleByDef' type='func-type' binding='global-binding' visibility='def…
10067PyType_GetModuleByDef' mangled-name='PyType_GetModuleByDef' filepath='Objects/typeobject.c' line='…