]> granicus.if.org Git - python/commitdiff
Minor edits
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 18 Aug 2006 13:57:13 +0000 (13:57 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 18 Aug 2006 13:57:13 +0000 (13:57 +0000)
Doc/api/abstract.tex
Doc/api/concrete.tex

index 2ea11d12d2bcd2e1d949318f6daeebe29dbc0278..1a498b9009dcf5704b18eb0d20330497226c4709 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 3a31287b01a1ab520dd957086b681067f8a6a23e..34221ad3af868741935d8032a129b0412757d7bd 100644 (file)
@@ -1842,8 +1842,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}