Theme
Auto
Light
Dark
上個主題
記憶體管理
下個主題
在 heap 上分配物件
此頁面
回報錯誤
顯示原始碼
瀏覽
索引
模組
|
下一頁
|
上一頁
|
Python
»
3.13.5 Documentation
»
Python/C API 參考手冊
»
物件實作支援
|
Theme
Auto
Light
Dark
|
物件實作支援
¶
本章節說明在定義新的物件型別時所使用的函式、型別和巨集。
在 heap 上分配物件
通用物件結構
Base object types and macros
實作函式與方法
Accessing attributes of extension types
Member flags
Member types
Defining Getters and Setters
型別物件結構
Quick Reference
"tp slots"
sub-slots
slot typedefs
PyTypeObject Definition
PyObject Slots
PyVarObject Slots
PyTypeObject Slots
Static Types
Heap Types
Number Object Structures
Mapping Object Structures
Sequence Object Structures
Buffer Object Structures
Async Object Structures
Slot Type typedefs
範例
循環垃圾回收的支援
Controlling the Garbage Collector State
Querying Garbage Collector State
上個主題
記憶體管理
下個主題
在 heap 上分配物件
此頁面
回報錯誤
顯示原始碼
«
瀏覽
索引
模組
|
下一頁
|
上一頁
|
Python
»
3.13.5 Documentation
»
Python/C API 參考手冊
»
物件實作支援
|
Theme
Auto
Light
Dark
|