Home
last modified time | relevance | path

Searched refs:PyModule_AddType (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython3/Modules/_blake2/
Dblake2module.c66 if (PyModule_AddType(m, &PyBlake2_BLAKE2bType) < 0) { in PyInit__blake2()
83 if (PyModule_AddType(m, &PyBlake2_BLAKE2sType) < 0) { in PyInit__blake2()
/external/python/cpython3/Modules/
D_bz2module.c732 if (PyModule_AddType(module, &BZ2Compressor_Type) < 0) { in _bz2_exec()
736 if (PyModule_AddType(module, &BZ2Decompressor_Type) < 0) { in _bz2_exec()
D_queuemodule.c394 if (PyModule_AddType(m, &PySimpleQueueType) < 0) { in PyInit__queue()
Dresource.c365 if(PyModule_AddType(module, &StructRUsageType) < 0) { in resource_exec()
D_hashopenssl.c2030 if (PyModule_AddType(module, state->EVPtype) < 0) { in hashlib_init_evptype()
2059 if (PyModule_AddType(module, state->EVPXOFtype) < 0) { in hashlib_init_evpxoftype()
2075 if (PyModule_AddType(module, state->HMACtype) < 0) { in hashlib_init_hmactype()
D_lzmamodule.c1485 if (PyModule_AddType(m, &Compressor_type) < 0) { in PyInit__lzma()
1489 if (PyModule_AddType(m, &Decompressor_type) < 0) { in PyInit__lzma()
D_asynciomodule.c3463 if (PyModule_AddType(m, &FutureType) < 0) { in PyInit__asyncio()
3468 if (PyModule_AddType(m, &TaskType) < 0) { in PyInit__asyncio()
D_operator.c1761 if (PyModule_AddType(module, types[i]) < 0) { in operator_exec()
D_csv.c1671 if (PyModule_AddType(module, &Dialect_Type)) { in PyInit__csv()
D_functoolsmodule.c1445 if (PyModule_AddType(module, typelist[i]) < 0) { in _functools_exec()
Doverlapped.c1860 if (PyModule_AddType(m, &OverlappedType) < 0) { in PyInit__overlapped()
D_pickle.c8023 if (PyModule_AddType(m, &Pickler_Type) < 0) { in PyInit__pickle()
8026 if (PyModule_AddType(m, &Unpickler_Type) < 0) { in PyInit__pickle()
8029 if (PyModule_AddType(m, &PyPickleBuffer_Type) < 0) { in PyInit__pickle()
D_collectionsmodule.c2586 if (PyModule_AddType(module, typelist[i]) < 0) { in collections_exec()
D_cursesmodule.c4743 if (PyModule_AddType(m, &PyCursesWindow_Type) < 0) { in PyInit__curses()
D_elementtree.c4458 if (PyModule_AddType(m, types[i]) < 0) { in PyInit__elementtree()
Ditertoolsmodule.c4709 if (PyModule_AddType(m, typelist[i]) < 0) { in itertoolsmodule_exec()
/external/python/cpython3/Include/
Dmodsupport.h144 PyAPI_FUNC(int) PyModule_AddType(PyObject *module, PyTypeObject *type);
/external/python/cpython3/Modules/_sqlite/
Dmodule.c351 if (PyModule_AddType(module, &type) < 0) { \
/external/python/cpython3/Modules/_io/
D_iomodule.c686 if (PyModule_AddType(m, type) < 0) { \ in PyInit__io()
/external/python/cpython3/Python/
Dmodsupport.c687 PyModule_AddType(PyObject *module, PyTypeObject *type) in PyModule_AddType() function
/external/python/cpython3/Misc/NEWS.d/
D3.9.0b2.rst294 Prepare ``_hashlib`` for :pep:`489` and use :c:func:`PyModule_AddType`.
D3.9.0a5.rst1135 Add :c:func:`PyModule_AddType` helper function: add a type to a module.
/external/python/cpython3/Doc/c-api/
Dmodule.rst487 .. c:function:: int PyModule_AddType(PyObject *module, PyTypeObject *type)
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c2078 if (PyModule_AddType(m, typelist[i]) < 0) { in PyInit__multibytecodec()
/external/python/cpython3/Doc/whatsnew/
D3.9.rst1278 * The :c:func:`PyModule_AddType` function is added to help adding a type

12