Python logo

Föregående titel

Memory Management

Nästa titel

Allocating Objects on the Heap

Denna sidan

  • Rapportera ett fel
  • Visa källa

Navigering

  • index
  • moduler |
  • nästa |
  • föregående |
  • Python logo
  • Python »
  • 3.14.0 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
    • Deprecated aliases
  • 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

Föregående titel

Memory Management

Nästa titel

Allocating Objects on the Heap

Denna sidan

  • Rapportera ett fel
  • Visa källa
«

Navigering

  • index
  • moduler |
  • nästa |
  • föregående |
  • Python logo
  • Python »
  • 3.14.0 Documentation »
  • Python/C API Reference Manual »
  • Object Implementation Support
  • |
  • |
© Upphovsrätt 2001 Python Software Foundation.
Denna sida är licensierad enligt Python Software Foundation License version 2.
Exempel, recept och annan kod i dokumentationen är dessutom licensierade under Zero Clause BSD-licensen.
Se Historik och licens för mer information.

Python Software Foundation är ett icke-vinstdrivande företag. Donera.

Senast uppdaterad nov. 22, 2025 (06:59 UTC). Har du hittat ett fel?
Skapad med hjälp av Sphinx 8.2.3.