导航

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

对象实现支持P

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

  • 在堆中分配对象
  • Common Object Structures
    • 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
  • 例子
  • 使对象类型支持循环垃圾回收

上一个主题

内存管理

下一个主题

在堆中分配对象

本页

  • 提交 Bug
  • 显示源代码

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 3.9.0a2 文档 »
  • Python/C API 参考手册 »
  • |
© 版权所有 2001-2019, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 12月 19, 2019. Found a bug?
Created using Sphinx 2.2.1.