Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 1043f95b9b0353bbeda7b7d5713643b8d4e4bcfa authored by Larry Hastings on 09 September 2015, 06:58:10 UTC
Version bump for Python 3.5.0rc4.
Tip revision: 1043f95
abstract.rst
.. highlightlang:: c

.. _abstract:

**********************
Abstract Objects Layer
**********************

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
   buffer.rst
   objbuffer.rst
back to top