Searched refs:PyType_GetModuleByDef (Results 1 – 25 of 37) sorted by relevance
12
/external/python/cpython3/Modules/_sqlite/ |
D | module.h | 89 PyObject *module = PyType_GetModuleByDef(tp, &_sqlite3module); in pysqlite_get_state_by_type()
|
/external/python/cpython3/Modules/ |
D | _ssl.h | 51 (get_ssl_state(PyType_GetModuleByDef(type, &_sslmodule_def)))
|
D | _testmultiphase.c | 152 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.c | 895 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.c | 28 (simplequeue_get_state(PyType_GetModuleByDef(type, &queuemodule)))
|
D | _randommodule.c | 112 (get_random_state(PyType_GetModuleByDef(type, &_randommodule)))
|
D | _bz2module.c | 38 PyObject *module = PyType_GetModuleByDef(type, &_bz2module); in find_module_state_by_def()
|
D | _collectionsmodule.c | 40 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.c | 406 PyObject *module = PyType_GetModuleByDef(type, &_csvmodule); in _csv_state_from_type()
|
D | _functoolsmodule.c | 62 PyObject *module = PyType_GetModuleByDef(type, &_functools_module); in get_functools_state_by_type()
|
D | _elementtree.c | 129 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.c | 40 (get_struct_state(PyType_GetModuleByDef(Py_TYPE(self), &_structmodule)))
|
D | _zoneinfo.c | 216 PyObject *mod = PyType_GetModuleByDef(self, &zoneinfomodule); in zoneinfo_get_state_by_self()
|
D | arraymodule.c | 78 (get_array_state(PyType_GetModuleByDef(tp, &arraymodule)))
|
/external/python/cpython3/Modules/_io/ |
D | _iomodule.h | 188 PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module); in find_io_state_by_def()
|
/external/python/cpython3/Doc/howto/ |
D | isolating-extensions.rst | 569 :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/ |
D | Python-tokenize.c | 21 get_tokenize_state(PyType_GetModuleByDef(type, &_tokenizemodule))
|
/external/python/cpython3/Modules/_ctypes/ |
D | ctypes.h | 99 PyObject *mod = PyType_GetModuleByDef(cls, &_ctypesmodule); in get_module_state_by_def()
|
/external/python/cpython3/Doc/c-api/ |
D | type.rst | 235 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/ |
D | object.h | 1264 PyAPI_FUNC(PyObject *) PyType_GetModuleByDef(PyTypeObject *, PyModuleDef *);
|
/external/python/cpython3/PC/ |
D | python3dll.c | 647 EXPORT_FUNC(PyType_GetModuleByDef)
|
/external/python/cpython3/Doc/data/ |
D | stable_abi.dat | 687 func,PyType_GetModuleByDef,3.13,,
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.11.0a6.rst | 1205 Added function :c:func:`PyType_GetModuleByDef`, which allows access to
|
D | 3.13.0a6.rst | 1169 Add :c:func:`PyType_GetModuleByDef` to the limited C API. Patch by Victor
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 42 PyObject *module = PyType_GetModuleByDef(type, &_multibytecodecmodule); in find_state_by_def()
|
12