Python logo

上個話題

Memory Management

下個話題

Allocating Objects on the Heap

This page

  • 回報臭蟲
  • 顯示來源碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python logo
  • Python »
  • 3.15.0a0 Documentation »
  • Python/C API Reference Manual »
  • Object Implementation Support
  • |
  • |

Object Implementation Support¶

This chapter describes the functions, types, and macros used when defining new object types.

  • Allocating Objects on the Heap
  • Object Life Cycle
    • Life Events
    • Cyclic Isolate Destruction
    • Functions
  • Common Object Structures
    • Base object types and macros
    • Implementing functions and methods
    • Accessing attributes of extension types
      • Member flags
      • Member types
      • Defining Getters and Setters
  • Type Object Structures
    • 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
    • Examples
  • Supporting Cyclic Garbage Collection
    • Controlling the Garbage Collector State
    • Querying Garbage Collector State

上個話題

Memory Management

下個話題

Allocating Objects on the Heap

This page

  • 回報臭蟲
  • 顯示來源碼
«

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python logo
  • Python »
  • 3.15.0a0 Documentation »
  • Python/C API Reference Manual »
  • Object Implementation Support
  • |
  • |
© 版權所有 2001 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.

最後更新於 8月 12, 2025 (07:50 UTC)。 Found a bug?
使用 Sphinx 8.2.3 建立。