Original Translation
1
Abstract Objects Layer
2
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.
3
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 :cfunc:`PyList_New`, but whose items have not been set to some non-\ ``NULL`` value yet.
4
Allocating Objects on the Heap
5
See also
6
To allocate and create extension modules.
7
Parsing arguments and building values
8
These functions are useful when creating your own extensions functions and methods. Additional information and examples are available in :ref:`extending-index`.
9
The first three of these functions described, :cfunc:`PyArg_ParseTuple`, :cfunc:`PyArg_ParseTupleAndKeywords`, and :cfunc:`PyArg_Parse`, all use *format strings* which are used to tell the function about the expected arguments. The format strings use the same syntax for each of these functions.
10
Parsing arguments