summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-08-18 13:57:13 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-08-18 13:57:13 (GMT)
commitc458433850348500ac8139ffca36a251ebc5b8ae (patch)
treecbf4f3c82cd36cb97bcb48dcb14cc91537be0a40 /Doc/api
parente7c9bad93d3acf87197d40ec67546bbc3c3dc7ed (diff)
downloadcpython-c458433850348500ac8139ffca36a251ebc5b8ae.zip
cpython-c458433850348500ac8139ffca36a251ebc5b8ae.tar.gz
cpython-c458433850348500ac8139ffca36a251ebc5b8ae.tar.bz2
Minor edits
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/abstract.tex2
-rw-r--r--Doc/api/concrete.tex4
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex
index 2ea11d1..1a498b9 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 3a31287..34221ad 100644
--- a/Doc/api/concrete.tex
+++ b/Doc/api/concrete.tex
@@ -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}