Navigation
- index
- modules |
- next |
- previous |
- Python »
- 3.16.0a2 documentation »
- Python/C API reference manual »
- Abstract Objects Layer
- |
- Theme |
Abstract Objects Layer¶
The functions in this chapter interact with Python objects regardless of their type, or with wide classes of object types (e.g. all numerical types, or all sequence types). When used on object types for which they do not apply, they will raise a Python exception.
It is not possible to use these functions on objects that are not properly
initialized, such as a list object that has been created by PyList_New(),
but whose items have not been set to some non-NULL value yet.
- Object Protocol
- Call Protocol
- Number Protocol
- Sequence Protocol
- Mapping Protocol
- Iterator Protocol
- Buffer Protocol
Previous topic
Next topic
This page
«Navigation
- index
- modules |
- next |
- previous |
- Python »
- 3.16.0a2 documentation »
- Python/C API reference manual »
- Abstract Objects Layer
- |
- Theme |
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 Nov 29, 2026 (04:54 UTC). Found a bug?
Created using Sphinx 9.1.1.