PageRenderTime 806ms CodeModel.GetById 604ms app.highlight 1ms RepoModel.GetById 200ms app.codeStats 0ms

/Doc/c-api/abstract.rst

http://unladen-swallow.googlecode.com/
ReStructuredText | 26 lines | 19 code | 7 blank | 0 comment | 0 complexity | 4a398d57f096bf86140f834bee8ceb0c MD5 | raw file
 1.. 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
19.. toctree::
20
21   object.rst
22   number.rst
23   sequence.rst
24   mapping.rst
25   iter.rst
26   objbuffer.rst