Skip to main content

Module descriptor

Module descriptor 

Source

Structs§

CStrMember
Readonly char *. The word is the pointer, not the characters.
PyClassMethodDescriptor
PyDescriptor
PyDescriptorOwned
PyMemberDef
Same fields as PyMemberDef: name, type, offset, flags, doc.
PyMemberDefLayout
C layout of PyMemberDef: name pointer, int type, Py_ssize_t offset, int flags, doc pointer. size_of of this is type’s tp_itemsize.
PyMemberDescriptor
PyMemberFlags
PyMemberSpec
Const-constructible member spec. Registered as a PyMemberDef.
PyMethodDescriptor

Enums§

MemberAccess
Where PyMemberDef.offset points.
MemberKind
Member type. Discriminants match PyMemberDef.type.
SlotFunc
Each variant knows how to call the wrapped function with proper types