mirror of
https://github.com/python/cpython
synced 2024-11-05 18:12:54 +00:00
ce5e1a6809
Revert "bpo-41103: Remove old buffer protocol support (#21117)"
This reverts commit 6f8a6ee59c
.
27 lines
723 B
ReStructuredText
27 lines
723 B
ReStructuredText
.. highlight:: c
|
|
|
|
.. _abstract:
|
|
|
|
**********************
|
|
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 :c:func:`PyList_New`,
|
|
but whose items have not been set to some non-\ ``NULL`` value yet.
|
|
|
|
.. toctree::
|
|
|
|
object.rst
|
|
call.rst
|
|
number.rst
|
|
sequence.rst
|
|
mapping.rst
|
|
iter.rst
|
|
buffer.rst
|
|
objbuffer.rst
|