Debian Codegraph @

Doc/c-api/abstract.rst

raw
1 .. highlight:: c
2
3 .. _abstract:
4
5 **********************
6 Abstract Objects Layer
7 **********************
8
9 The functions in this chapter interact with Python objects regardless of their
10 type, or with wide classes of object types (e.g. all numerical types, or all
11 sequence types). When used on object types for which they do not apply, they
12 will raise a Python exception.
13
14 It is not possible to use these functions on objects that are not properly
15 initialized, such as a list object that has been created by :c:func:`PyList_New`,
16 but whose items have not been set to some non-\ ``NULL`` value yet.
17
18 .. toctree::
19
20 object.rst
21 call.rst
22 number.rst
23 sequence.rst
24 mapping.rst
25 iter.rst
26 buffer.rst