This document is for an old version of Python that is no longer supported. You should install the python3 and python3-doc packages and read the Python documentation for the Python3 version packaged in this release.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • Python 2.7.18 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
  • Common Object Structures
  • Type Objects
  • Number Object Structures
  • Mapping Object Structures
  • Sequence Object Structures
  • Buffer Object Structures
  • Supporting Cyclic Garbage Collection

Previous topic

Memory Management

Next topic

Allocating Objects on the Heap

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • Python 2.7.18 documentation »
  • Python/C API Reference Manual »
  • Object Implementation Support
© Copyright 1990-2024, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on December 09, 2024. Found a bug?
Created using Sphinx 4.3.2.