From: Andrew M. Kuchling Date: Fri, 18 Aug 2006 13:56:50 +0000 (+0000) Subject: Minor edits X-Git-Tag: v2.4.4c1~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86933f59a6ebf1817cf7f160bf2af44acbdc65c3;p=thirdparty%2FPython%2Fcpython.git Minor edits --- diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex index 211288d9729f..e8f9a6dc6a49 100644 --- a/Doc/api/abstract.tex +++ b/Doc/api/abstract.tex @@ -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. 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 non-\code{NULL} value yet. diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 46896f1c4550..5e2b2e940b75 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -1768,8 +1768,8 @@ format. failure. \note{If \var{length} is greater than zero, the returned list object's items are set to \code{NULL}. Thus you cannot use abstract - API functions such as \cfunction{PySequence_SetItem()} on it - or expose it to Python code before setting all items to a + API functions such as \cfunction{PySequence_SetItem()} + or expose the object to Python code before setting all items to a real object with \cfunction{PyList_SetItem()}.} \end{cfuncdesc}