瀏覽
索引
模組
|
下一頁
|
上一頁
|
Python
»
3.9.5 Documentation
»
Python / C API 參考手冊
»
|
对象实现支持
¶
本章描述了定义新对象类型时所使用的函数、类型和宏。
在堆中分配对象
通用物件結構
Base object types and macros
Implementing functions and methods
Accessing attributes of extension types
Type 对象
快速参考
"tp 槽"
sub-slots
slot typedefs
PyTypeObject Definition
PyObject Slots
PyVarObject Slots
PyTypeObject Slots
Heap Types
Number Object Structures
Mapping Object Structures
Sequence Object Structures
Buffer Object Structures
Async Object Structures
Slot Type typedefs
例子
使对象类型支持循环垃圾回收
上個主題
記憶體管理
下個主題
在堆中分配对象
本頁
回報錯誤
顯示原始碼
瀏覽
索引
模組
|
下一頁
|
上一頁
|
Python
»
3.9.5 Documentation
»
Python / C API 參考手冊
»
|