| 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 | 
| Benjamin Peterson | 3cabbeb | 2010-08-21 21:23:28 +0000 | [diff] [blame] | 15 | initialized, such as a list object that has been created by :c:func:`PyList_New`, | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 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 | 
| Antoine Pitrou | f7ba2fa | 2010-09-28 23:39:41 +0000 | [diff] [blame] | 25 |    buffer.rst | 
| Georg Brandl | 54a3faa | 2008-01-20 09:30:57 +0000 | [diff] [blame] | 26 |    objbuffer.rst |