Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 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 |
Sandro Tosi | 98ed08f | 2012-01-14 16:42:02 +0100 | [diff] [blame] | 16 | initialized, such as a list object that has been created by :c:func:`PyList_New`, |
Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 17 | but whose items have not been set to some non-\ ``NULL`` value yet. |
| 18 | |
Georg Brandl | f684272 | 2008-01-19 22:08:21 +0000 | [diff] [blame] | 19 | .. toctree:: |
Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 20 | |
Georg Brandl | f684272 | 2008-01-19 22:08:21 +0000 | [diff] [blame] | 21 | object.rst |
| 22 | number.rst |
| 23 | sequence.rst |
| 24 | mapping.rst |
| 25 | iter.rst |
| 26 | objbuffer.rst |