mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85082 | antoine.pitrou | 2010-09-29 01:39:41 +0200 (mer., 29 sept. 2010) | 4 lines Buffers are not sequence objects (!). Put them in the abstract objects layers instead. ........
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			715 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			715 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
.. 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
 |