API Reference Document

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • 文档 »
  • Python/C API 参考手册 »
  • |

对象实现支持¶

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

  • 在堆中分配对象
  • Common Object Structures
  • 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 »
  • 文档 »
  • Python/C API 参考手册 »
  • |