Classdesc 3.44
PyTypeObject Struct Reference
Inheritance diagram for PyTypeObject:
Inheritance graph
Collaboration diagram for PyTypeObject:
Collaboration graph

Public Attributes

PyVarObject ob_base
const char * tp_name
Py_ssize_t tp_basicsize
Py_ssize_t tp_itemsize
destructor tp_dealloc
printfunc tp_print
getattrfunc tp_getattr
setattrfunc tp_setattr
PyAsyncMethods * tp_as_async
reprfunc tp_repr
PyNumberMethods * tp_as_number
PySequenceMethods * tp_as_sequence
PyMappingMethodstp_as_mapping
hashfunc tp_hash
ternaryfunc tp_call
reprfunc tp_str
getattrofunc tp_getattro
setattrofunc tp_setattro
PyBufferProcs * tp_as_buffer
unsigned long tp_flags
const char * tp_doc
traverseproc tp_traverse
inquiry tp_clear
richcmpfunc tp_richcompare
Py_ssize_t tp_weaklistoffset
getiterfunc tp_iter
iternextfunc tp_iternext
struct PyMethodDeftp_methods
struct PyMemberDef * tp_members
struct PyGetSetDef * tp_getset
struct _typeobject * tp_base
PyObjecttp_dict
descrgetfunc tp_descr_get
descrsetfunc tp_descr_set
Py_ssize_t tp_dictoffset
initproc tp_init
allocfunc tp_alloc
newfunc tp_new
freefunc tp_free
inquiry tp_is_gc
PyObjecttp_bases
PyObjecttp_mro
PyObjecttp_cache
PyObjecttp_subclasses
PyObjecttp_weaklist
destructor tp_del
unsigned int tp_version_tag
destructor tp_finalize

The documentation for this struct was generated from the following file: