]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Minor edits
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 18 Aug 2006 13:56:50 +0000 (13:56 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 18 Aug 2006 13:56:50 +0000 (13:56 +0000)
Doc/api/abstract.tex
Doc/api/concrete.tex

index 211288d9729f02ee3aa0c05461f41b0021d5e2d6..e8f9a6dc6a49a105b607c716a944e0f47396707b 100644 (file)
@@ -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.
 
index 46896f1c45502e8c9ddcf02759b8ed1ec3d1b66f..5e2b2e940b754c213b1007857a87ac6841f186db 100644 (file)
@@ -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}