]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/python/contrib/Doc/c-api/abstract.rst
Inital import
[l4.git] / l4 / pkg / python / contrib / Doc / c-api / abstract.rst
1 .. highlightlang:: c
2
3
4 .. _abstract:
5
6 **********************
7 Abstract Objects Layer
8 **********************
9
10 The functions in this chapter interact with Python objects regardless of their
11 type, or with wide classes of object types (e.g. all numerical types, or all
12 sequence types).  When used on object types for which they do not apply, they
13 will raise a Python exception.
14
15 It is not possible to use these functions on objects that are not properly
16 initialized, such as a list object that has been created by :cfunc:`PyList_New`,
17 but whose items have not been set to some non-\ ``NULL`` value yet.
18
19 .. toctree::
20
21    object.rst
22    number.rst
23    sequence.rst
24    mapping.rst
25    iter.rst
26    objbuffer.rst