/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. .. _abstract:
  3. **********************
  4. Abstract Objects Layer
  5. **********************
  6. The functions in this chapter interact with Python objects regardless of their
  7. type, or with wide classes of object types (e.g. all numerical types, or all
  8. sequence types). When used on object types for which they do not apply, they
  9. will raise a Python exception.
  10. It is not possible to use these functions on objects that are not properly
  11. initialized, such as a list object that has been created by :cfunc:`PyList_New`,
  12. but whose items have not been set to some non-\ ``NULL`` value yet.
  13. .. toctree::
  14. object.rst
  15. number.rst
  16. sequence.rst
  17. mapping.rst
  18. iter.rst
  19. objbuffer.rst