Logo

Argomento precedente

Memory Management

Argomento successivo

Allocating Objects on the Heap

Questa pagina

  • Riporta un Bug
  • Mostra sorgente

Navigazione

  • indice
  • moduli |
  • successivo |
  • precedente |
  • python logo
  • Python »
  • 3.9.23 Documentation »
  • Python/C API Reference Manual »
  • |

Object Implementation Support¶

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

  • Allocating Objects on the Heap
  • Common Object Structures
    • Base object types and macros
    • Implementing functions and methods
    • Accessing attributes of extension types
  • Type Objects
    • Quick Reference
      • «tp slots»
      • 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
  • Examples
  • Supporting Cyclic Garbage Collection

Argomento precedente

Memory Management

Argomento successivo

Allocating Objects on the Heap

Questa pagina

  • Riporta un Bug
  • Mostra sorgente

Navigazione

  • indice
  • moduli |
  • successivo |
  • precedente |
  • python logo
  • Python »
  • 3.9.23 Documentation »
  • Python/C API Reference Manual »
  • |
© Copyright 2001-2025, 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.

La Python Software Foundation è una società senza scopo di lucro. Per favore, fai una donazione.

Ultimo aggiornamento lug 09, 2025. Found a bug?
Created using Sphinx 2.4.4.