Commit 40dbdbe7 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Minor edits

parent f3a63c37
...@@ -6,7 +6,7 @@ numerical types, or all sequence types). When used on object types ...@@ -6,7 +6,7 @@ numerical types, or all sequence types). When used on object types
for which they do not apply, they will raise a Python exception. 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 It is not possible to use these functions on objects that are not properly
initialized, such a list object that has been created by initialized, such as a list object that has been created by
\cfunction{PyList_New()}, but whose items have not been set to some \cfunction{PyList_New()}, but whose items have not been set to some
non-\code{NULL} value yet. non-\code{NULL} value yet.
......
...@@ -1842,8 +1842,8 @@ format. ...@@ -1842,8 +1842,8 @@ format.
failure. failure.
\note{If \var{length} is greater than zero, the returned list object's \note{If \var{length} is greater than zero, the returned list object's
items are set to \code{NULL}. Thus you cannot use abstract items are set to \code{NULL}. Thus you cannot use abstract
API functions such as \cfunction{PySequence_SetItem()} on it API functions such as \cfunction{PySequence_SetItem()}
or expose it to Python code before setting all items to a or expose the object to Python code before setting all items to a
real object with \cfunction{PyList_SetItem()}.} real object with \cfunction{PyList_SetItem()}.}
\end{cfuncdesc} \end{cfuncdesc}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment