Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • 3.6.15 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
    • METH_VARARGS
    • METH_KEYWORDS
    • METH_NOARGS
    • METH_O
    • METH_CLASS
    • METH_STATIC
    • METH_COEXIST
  • Type Objects
    • Py_TPFLAGS_HEAPTYPE
    • Py_TPFLAGS_BASETYPE
    • Py_TPFLAGS_READY
    • Py_TPFLAGS_READYING
    • Py_TPFLAGS_HAVE_GC
    • Py_TPFLAGS_DEFAULT
    • Py_TPFLAGS_LONG_SUBCLASS
    • Py_TPFLAGS_LIST_SUBCLASS
    • Py_TPFLAGS_TUPLE_SUBCLASS
    • Py_TPFLAGS_BYTES_SUBCLASS
    • Py_TPFLAGS_UNICODE_SUBCLASS
    • Py_TPFLAGS_DICT_SUBCLASS
    • Py_TPFLAGS_BASE_EXC_SUBCLASS
    • Py_TPFLAGS_TYPE_SUBCLASS
    • Py_TPFLAGS_HAVE_FINALIZE
  • 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 »
  • Object Implementation Support
  • |
© Copyright 2001-2022, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Sep 16, 2022. Found a bug?
Created using Sphinx 5.2.3.