上個主題
記憶體管理
下個主題
在堆上分配对象
此頁面
回報錯誤
顯示原始碼
瀏覽
索引
模組
|
下一頁
|
上一頁
|
Python
»
3.10.11 Documentation
»
Python/C API 參考手冊
»
对象实现支持
|
对象实现支持
¶
本章描述了定义新对象类型时所使用的函数、类型和宏。
在堆上分配对象
通用物件結構
基本的对象类型和宏
Implementing functions and methods
Accessing attributes of extension types
类型对象
快速参考
"tp_方法槽"
子方法槽(方法域)
槽位 typedef
PyTypeObject 定义
PyObject 槽位
PyVarObject 槽位
PyTypeObject 槽
Static Types
Heap Types
Number Object Structures
Mapping Object Structures
Sequence Object Structures
Buffer Object Structures
Async Object Structures
Slot Type typedefs
範例
使对象类型支持循环垃圾回收
控制垃圾回收器状态
上個主題
記憶體管理
下個主題
在堆上分配对象
此頁面
回報錯誤
顯示原始碼
瀏覽
索引
模組
|
下一頁
|
上一頁
|
Python
»
3.10.11 Documentation
»
Python/C API 參考手冊
»
对象实现支持
|