对象实现支持对象实现支持本章描述了定义新对象类型时所使用的函数、类型和宏。 在堆中分配对象Common Object Structures Base object types and macrosImplementing functions and methodsAccessing attributes of extension types Type 对象 快速参考 “tp 槽”sub-slotsslot typedefs PyTypeObject DefinitionPyObject SlotsPyVarObject SlotsPyTypeObject SlotsHeap Types Number Object StructuresMapping Object StructuresSequence Object StructuresBuffer Object StructuresAsync Object StructuresSlot Type typedefs例子使对象类型支持循环垃圾回收