Home
last modified time | relevance | path

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

12

/external/python/cpython3/Modules/_sqlite/
Dmodule.h89 PyObject *module = PyType_GetModuleByDef(tp, &_sqlite3module); in pysqlite_get_state_by_type()
/external/python/cpython3/Modules/
D_ssl.h51 (get_ssl_state(PyType_GetModuleByDef(type, &_sslmodule_def)))
D_testmultiphase.c152 assert(PyType_GetModuleByDef(Py_TYPE(self), &def_meth_state_access) == retval); in _testmultiphase_StateAccessType_get_defining_module_impl()
169 PyType_GetModuleByDef(Py_TYPE(self), &def_nonmodule); // should raise in _testmultiphase_StateAccessType_getmodulebydef_bad_def_impl()
D_threadmodule.c895 PyObject *module = PyType_GetModuleByDef(type, &thread_module); in lock_new()
1463 PyObject *module = PyType_GetModuleByDef(type, &thread_module); in local_new()
1676 PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &thread_module); in local_setattro()
1736 PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &thread_module); in local_getattro()
D_queuemodule.c28 (simplequeue_get_state(PyType_GetModuleByDef(type, &queuemodule)))
D_randommodule.c112 (get_random_state(PyType_GetModuleByDef(type, &_randommodule)))
D_bz2module.c38 PyObject *module = PyType_GetModuleByDef(type, &_bz2module); in find_module_state_by_def()
D_collectionsmodule.c40 PyObject *mod = PyType_GetModuleByDef(type, &_collectionsmodule); in find_module_state_by_def()
2363 PyObject *mod = PyType_GetModuleByDef(tp, &_collectionsmodule); in defdict_or()
2367 mod = PyType_GetModuleByDef(tp, &_collectionsmodule); in defdict_or()
D_csv.c406 PyObject *module = PyType_GetModuleByDef(type, &_csvmodule); in _csv_state_from_type()
D_functoolsmodule.c62 PyObject *module = PyType_GetModuleByDef(type, &_functools_module); in get_functools_state_by_type()
D_elementtree.c129 PyObject *mod = PyType_GetModuleByDef(tp, &elementtreemodule); in get_elementtree_state_by_type()
3603 self->elementtree_module = PyType_GetModuleByDef(type, &elementtreemodule); in xmlparser_new()
D_struct.c40 (get_struct_state(PyType_GetModuleByDef(Py_TYPE(self), &_structmodule)))
D_zoneinfo.c216 PyObject *mod = PyType_GetModuleByDef(self, &zoneinfomodule); in zoneinfo_get_state_by_self()
Darraymodule.c78 (get_array_state(PyType_GetModuleByDef(tp, &arraymodule)))
/external/python/cpython3/Modules/_io/
D_iomodule.h188 PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module); in find_io_state_by_def()
/external/python/cpython3/Doc/howto/
Disolating-extensions.rst569 :c:func:`PyType_GetModuleByDef` function, and pass in the module definition.
573 PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &module_def);
579 :c:func:`!PyType_GetModuleByDef` works by searching the
586 created from the same definition), :c:func:`!PyType_GetModuleByDef` might not
/external/python/cpython3/Python/
DPython-tokenize.c21 get_tokenize_state(PyType_GetModuleByDef(type, &_tokenizemodule))
/external/python/cpython3/Modules/_ctypes/
Dctypes.h99 PyObject *mod = PyType_GetModuleByDef(cls, &_ctypesmodule); in get_module_state_by_def()
/external/python/cpython3/Doc/c-api/
Dtype.rst235 See :c:func:`PyType_GetModuleByDef` for cases when :c:type:`!PyCMethod` cannot
254 .. c:function:: PyObject* PyType_GetModuleByDef(PyTypeObject *type, struct PyModuleDef *def)
/external/python/cpython3/Include/
Dobject.h1264 PyAPI_FUNC(PyObject *) PyType_GetModuleByDef(PyTypeObject *, PyModuleDef *);
/external/python/cpython3/PC/
Dpython3dll.c647 EXPORT_FUNC(PyType_GetModuleByDef)
/external/python/cpython3/Doc/data/
Dstable_abi.dat687 func,PyType_GetModuleByDef,3.13,,
/external/python/cpython3/Misc/NEWS.d/
D3.11.0a6.rst1205 Added function :c:func:`PyType_GetModuleByDef`, which allows access to
D3.13.0a6.rst1169 Add :c:func:`PyType_GetModuleByDef` to the limited C API. Patch by Victor
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c42 PyObject *module = PyType_GetModuleByDef(type, &_multibytecodecmodule); in find_state_by_def()

12