blob: 59e4cc44216f57c936162550f8a205cfe712c501 [file] [log] [blame]
Georg Brandl8ec7f652007-08-15 14:28:01 +00001.. highlightlang:: c
2
3
4.. _abstract:
5
6**********************
7Abstract Objects Layer
8**********************
9
10The functions in this chapter interact with Python objects regardless of their
11type, or with wide classes of object types (e.g. all numerical types, or all
12sequence types). When used on object types for which they do not apply, they
13will raise a Python exception.
14
15It is not possible to use these functions on objects that are not properly
16initialized, such as a list object that has been created by :cfunc:`PyList_New`,
17but whose items have not been set to some non-\ ``NULL`` value yet.
18
Georg Brandlf6842722008-01-19 22:08:21 +000019.. toctree::
Georg Brandl8ec7f652007-08-15 14:28:01 +000020
Georg Brandlf6842722008-01-19 22:08:21 +000021 object.rst
22 number.rst
23 sequence.rst
24 mapping.rst
25 iter.rst
26 objbuffer.rst