Home
last modified time | relevance | path

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

/third_party/python/Modules/_sqlite/
Dmodule.h88 PyObject *module = PyType_GetModuleByDef(tp, &_sqlite3module); in pysqlite_get_state_by_type()
/third_party/python/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_csv.c383 PyObject *module = PyType_GetModuleByDef(type, &_csvmodule); in _csv_state_from_type()
D_functoolsmodule.c54 PyObject *module = PyType_GetModuleByDef(type, &_functools_module); in get_functools_state_by_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()
/third_party/python/Python/
DPython-tokenize.c16 get_tokenize_state(PyType_GetModuleByDef(type, &_tokenizemodule))
/third_party/python/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);
/third_party/python/Include/cpython/
Dobject.h273 PyAPI_FUNC(PyObject *) PyType_GetModuleByDef(PyTypeObject *, PyModuleDef *);
/third_party/python/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)
/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c36 PyObject *module = PyType_GetModuleByDef(type, &_multibytecodecmodule); in _multibyte_codec_find_state_by_type()
/third_party/python/Doc/whatsnew/
D3.11.rst2232 * Added the :c:data:`PyType_GetModuleByDef` function, used to get the module
/third_party/python/Objects/
Dtypeobject.c3719 PyType_GetModuleByDef(PyTypeObject *type, PyModuleDef *def) in PyType_GetModuleByDef() function
/third_party/python/Misc/
DNEWS4436 - bpo-46613: Added function :c:func:`PyType_GetModuleByDef`, which allows