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 »
  • 3.6.15 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
  • Async Object Structures
  • Supporting Cyclic Garbage Collection

Previous topic

Memory Management

Next topic

Allocating Objects on the Heap

This Page

  • Report a Bug
  • Show Source

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • 3.6.15 Documentation »
  • Python/C API Reference Manual »
  • |
© Copyright 2001-2025, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Apr 16, 2025. Found a bug?
Created using Sphinx 2.3.1.

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant