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 »
  • 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

  • Report a Bug
  • Show Source

Quick search

«

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • Python 2.7.18 documentation »
  • Python/C API Reference Manual »
© Copyright 1990-2025, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Mar 12, 2025. Found a bug?
Created using Sphinx 1.6.5.