Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 1 | .. highlightlang:: c |
| 2 | |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 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 :cfunc:`PyList_New`, |
| 16 | but whose items have not been set to some non-\ ``NULL`` value yet. |
| 17 | |
Georg Brandl | 54a3faa | 2008-01-20 09:30:57 +0000 | [diff] [blame] | 18 | .. toctree:: |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 19 | |
Georg Brandl | 54a3faa | 2008-01-20 09:30:57 +0000 | [diff] [blame] | 20 | object.rst |
| 21 | number.rst |
| 22 | sequence.rst |
| 23 | mapping.rst |
| 24 | iter.rst |
| 25 | objbuffer.rst |