blob: 1823f9d70c79f3ef4d873ca0d46f7d56a42f2964 [file] [log] [blame]
Stéphane Wirtelcbb64842019-05-17 11:55:34 +02001.. highlight:: c
Georg Brandl116aa622007-08-15 14:28:22 +00002
Georg Brandl116aa622007-08-15 14:28:22 +00003.. _abstract:
4
5**********************
6Abstract Objects Layer
7**********************
8
9The functions in this chapter interact with Python objects regardless of their
10type, or with wide classes of object types (e.g. all numerical types, or all
11sequence types). When used on object types for which they do not apply, they
12will raise a Python exception.
13
14It is not possible to use these functions on objects that are not properly
Benjamin Peterson3cabbeb2010-08-21 21:23:28 +000015initialized, such as a list object that has been created by :c:func:`PyList_New`,
Georg Brandl116aa622007-08-15 14:28:22 +000016but whose items have not been set to some non-\ ``NULL`` value yet.
17
Georg Brandl54a3faa2008-01-20 09:30:57 +000018.. toctree::
Georg Brandl116aa622007-08-15 14:28:22 +000019
Georg Brandl54a3faa2008-01-20 09:30:57 +000020 object.rst
Jeroen Demeyer9a13a382019-11-12 14:08:00 +010021 call.rst
Georg Brandl54a3faa2008-01-20 09:30:57 +000022 number.rst
23 sequence.rst
24 mapping.rst
25 iter.rst
Antoine Pitrouf7ba2fa2010-09-28 23:39:41 +000026 buffer.rst
Georg Brandl54a3faa2008-01-20 09:30:57 +000027 objbuffer.rst