Python logo

Sujet précédent

Memory Management

Sujet suivant

Allouer des objets dans le tas

This page

  • Report a bug
  • Show source

Navigation

  • index
  • modules |
  • suivant |
  • précédent |
  • Python logo
  • Python »
  • 3.13.4 Documentation »
  • Manuel de référence de l'API Python/C »
  • Implémentation d'objets
  • |
  • |

Implémentation d'objets¶

Ce chapitre décrit les fonctions, types, et macros utilisées pour définir de nouveaux types d'objets.

  • Allouer des objets dans le tas
  • 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
    • Exemples
  • Supporting Cyclic Garbage Collection
    • Controlling the Garbage Collector State
    • Querying Garbage Collector State

Sujet précédent

Memory Management

Sujet suivant

Allouer des objets dans le tas

This page

  • Report a bug
  • Show source
«

Navigation

  • index
  • modules |
  • suivant |
  • précédent |
  • Python logo
  • Python »
  • 3.13.4 Documentation »
  • Manuel de référence de l'API Python/C »
  • Implémentation d'objets
  • |
  • |
© 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.

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

Mis à jour le juin 07, 2025 (06:45 UTC). Found a bug?
Créé en utilisant Sphinx 8.2.3.