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
- Slot Type typedefs
- Examples
- Supporting Cyclic Garbage Collection
© 2001–2022 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.9/c-api/objimpl.html