[Python-checkins] r51377 - python/branches/release24-maint/Doc/api/abstract.tex python/branches/release24-maint/Doc/api/concrete.tex
andrew.kuchling
python-checkins at python.org
Fri Aug 18 15:56:50 CEST 2006
Author: andrew.kuchling
Date: Fri Aug 18 15:56:50 2006
New Revision: 51377
Modified:
python/branches/release24-maint/Doc/api/abstract.tex
python/branches/release24-maint/Doc/api/concrete.tex
Log:
Minor edits
Modified: python/branches/release24-maint/Doc/api/abstract.tex
==============================================================================
--- python/branches/release24-maint/Doc/api/abstract.tex (original)
+++ python/branches/release24-maint/Doc/api/abstract.tex Fri Aug 18 15:56:50 2006
@@ -6,7 +6,7 @@
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.
Modified: python/branches/release24-maint/Doc/api/concrete.tex
==============================================================================
--- python/branches/release24-maint/Doc/api/concrete.tex (original)
+++ python/branches/release24-maint/Doc/api/concrete.tex Fri Aug 18 15:56:50 2006
@@ -1768,8 +1768,8 @@
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}
More information about the Python-checkins
mailing list