source: python/vendor/Python-2.7.6/Doc/c-api/abstract.rst

Last change on this file was 388, checked in by dmik, 11 years ago

python: Update vendor to 2.7.6.

  • Property svn:eol-style set to native
File size: 702 bytes

Abstract Objects Layer

?
.. highlightlang:: c


The functions in this chapter interact with Python objects regardless of their type, or with wide classes of object types (e.g. all numerical types, or all sequence types). When used on object types for which they do not apply, they will raise a Python exception.

It is not possible to use these functions on objects that are not properly initialized, such as a list object that has been created by :c:func:`PyList_New`, but whose items have not been set to some non-NULL value yet.

??
.. toctree::

   object.rst
   number.rst
   sequence.rst
   mapping.rst
   iter.rst
   objbuffer.rst
Note: See TracBrowser for help on using the repository browser.