6. Abstract Objects Layer
Keywords: api

#
6. 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.

Subsections

- 6.1 Object Protocol
- 6.2 Number Protocol
- 6.3 Sequence Protocol
- 6.4 Mapping Protocol
- 6.5 Iterator Protocol
- 6.6 Buffer Protocol