Home
last modified time | relevance | path

Searched refs:PyModule_Type (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Include/
Dmoduleobject.h10 PyAPI_DATA(PyTypeObject) PyModule_Type;
12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
13 #define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type)
/external/python/cpython3/Include/
Dmoduleobject.h10 PyAPI_DATA(PyTypeObject) PyModule_Type;
12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
13 #define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type)
/external/python/cpython2/Objects/
Dmoduleobject.c22 m = PyObject_GC_New(PyModuleObject, &PyModule_Type); in PyModule_New()
221 PyTypeObject PyModule_Type = { variable
/external/python/cpython2/Doc/c-api/
Dmodule.rst13 .. c:var:: PyTypeObject PyModule_Type
32 :c:data:`PyModule_Type`.
/external/python/cpython3/Doc/c-api/
Dmodule.rst11 .. c:var:: PyTypeObject PyModule_Type
27 :c:data:`PyModule_Type`.
330 :c:type:`PyModule_Type`. Any type can be used, as long as it supports
332 However, only ``PyModule_Type`` instances may be returned if the
/external/python/cpython3/Objects/
Dmoduleobject.c95 m = PyObject_GC_New(PyModuleObject, &PyModule_Type); in PyModule_NewObject()
789 PyTypeObject PyModule_Type = { variable
Dtypeobject.c3991 if (!(PyType_IsSubtype(newto, &PyModule_Type) && in object_set_class()
3992 PyType_IsSubtype(oldto, &PyModule_Type)) && in object_set_class()
/external/python/cpython2/PC/os2vacpp/
Dpython.def52 PyModule_Type
/external/python/cpython3/PC/
Dpython3.def379 PyModule_Type=python37.PyModule_Type DATA
/external/python/cpython2/PC/os2emx/
Dpython27.def441 "PyModule_Type"