Logo

上一个主题

内存管理

下一个主题

在堆上分配对象

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • python logo
  • Python »
  • 3.10.0a4 Documentation »
  • python/c API参考手册 »
  • 对象实现支持
  • |

对象实现支持¶

本章介绍定义新对象类型时使用的函数、类型和宏。

  • 在堆上分配对象
  • 公共对象结构
    • 基本对象类型和宏
    • 实现功能和方法
    • 访问扩展类型的属性
  • 类型对象
    • 快速引用
      • “TP插槽”
      • 子槽
      • 插槽类型
    • pytypeobject定义
    • PyObjor槽
    • PyvarObject插槽
    • pytypeobject插槽
    • 堆类型
  • 数字对象结构
  • 映射对象结构
  • 序列对象结构
  • 缓冲区对象结构
  • 异步对象结构
  • 槽类型typedef
  • 实例
  • 支持循环垃圾收集

上一个主题

内存管理

下一个主题

在堆上分配对象

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • python logo
  • Python »
  • 3.10.0a4 Documentation »
  • python/c API参考手册 »
  • 对象实现支持
  • |
© 版权 2001-2021, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 10月 23, 2021. Found a bug?
Created using Sphinx 4.2.0.