瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • 3.8.4 Documentation »
  • Python / C API 參考手冊 »
  • |

对象实现支持¶

本章描述了定义新对象类型时所使用的函数、类型和宏。

  • 在堆上分配对象
  • 通用物件結構
  • 类型对象
    • 快速参考
      • "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
  • 例子
  • 使对象类型支持循环垃圾回收

上個主題

記憶體管理

下個主題

在堆上分配对象

本頁

  • 提交 Bug
  • 顯示原始碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • 3.8.4 Documentation »
  • Python / C API 參考手冊 »
  • |
© 版權所有 2001-2020, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最後更新於 7月 20, 2020。 Found a bug?
Created using Sphinx 2.3.1.