Buckets:
| /* Module object interface */ | |
| extern "C" { | |
| PyAPI_DATA(PyTypeObject) PyModule_Type; | |
| PyAPI_FUNC(PyObject *) PyModule_NewObject( | |
| PyObject *name | |
| ); | |
| PyAPI_FUNC(PyObject *) PyModule_New( | |
| const char *name /* UTF-8 encoded string */ | |
| ); | |
| PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *); | |
| PyAPI_FUNC(PyObject *) PyModule_GetNameObject(PyObject *); | |
| PyAPI_FUNC(const char *) PyModule_GetName(PyObject *); | |
| Py_DEPRECATED(3.2) PyAPI_FUNC(const char *) PyModule_GetFilename(PyObject *); | |
| PyAPI_FUNC(PyObject *) PyModule_GetFilenameObject(PyObject *); | |
| PyAPI_FUNC(PyModuleDef*) PyModule_GetDef(PyObject*); | |
| PyAPI_FUNC(void*) PyModule_GetState(PyObject*); | |
| /* New in 3.5 */ | |
| PyAPI_FUNC(PyObject *) PyModuleDef_Init(PyModuleDef*); | |
| PyAPI_DATA(PyTypeObject) PyModuleDef_Type; | |
| typedef struct PyModuleDef_Base { | |
| PyObject_HEAD | |
| /* The function used to re-initialize the module. | |
| This is only set for legacy (single-phase init) extension modules | |
| and only used for those that support multiple initializations | |
| (m_size >= 0). | |
| It is set by _PyImport_LoadDynamicModuleWithSpec() | |
| and _imp.create_builtin(). */ | |
| PyObject* (*m_init)(void); | |
| /* The module's index into its interpreter's modules_by_index cache. | |
| This is set for all extension modules but only used for legacy ones. | |
| (See PyInterpreterState.modules_by_index for more info.) | |
| It is set by PyModuleDef_Init(). */ | |
| Py_ssize_t m_index; | |
| /* A copy of the module's __dict__ after the first time it was loaded. | |
| This is only set/used for legacy modules that do not support | |
| multiple initializations. | |
| It is set by fix_up_extension() in import.c. */ | |
| PyObject* m_copy; | |
| } PyModuleDef_Base; | |
| /* New in 3.5 */ | |
| struct PyModuleDef_Slot { | |
| int slot; | |
| void *value; | |
| }; | |
| /* for Py_mod_multiple_interpreters: */ | |
| /* for Py_mod_gil: */ | |
| PyAPI_FUNC(int) PyUnstable_Module_SetGIL(PyObject *module, void *gil); | |
| struct PyModuleDef { | |
| PyModuleDef_Base m_base; | |
| const char* m_name; | |
| const char* m_doc; | |
| Py_ssize_t m_size; | |
| PyMethodDef *m_methods; | |
| PyModuleDef_Slot *m_slots; | |
| traverseproc m_traverse; | |
| inquiry m_clear; | |
| freefunc m_free; | |
| }; | |
| } | |
Xet Storage Details
- Size:
- 3.68 kB
- Xet hash:
- 47b674b951c7f0124f31f179a3c473a58e8d65e864538e0678770583a3d0a1dc
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.