Logo

Previous topic

Memory Management

Next topic

Allocating Objects on the Heap

This Page

  • Show Source

Quick search

This document is for an old version of Python that is no longer supported. You should upgrade, and read the Python documentation for the current stable release.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • python logo
  • Python »
  • Python 2.7.18 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
  • 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 logo
  • Python »
  • Python 2.7.18 documentation »
  • Python/C API Reference Manual »
  • |
© Copyright 1990-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.

Last updated on Aug 10, 2025.
Created using Sphinx 2.3.1.