summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-02-26 17:07:11 (GMT)
committerGuido van Rossum <guido@python.org>1998-02-26 17:07:11 (GMT)
commit2474d685480f437b68e0fbb110b33f7541a4fe1d (patch)
tree3c422b486f3de51421cb62f9d30efef10a0b62c5 /Doc
parent74a11e59a22a89fa63f1aa0735bb57724f9c9666 (diff)
downloadcpython-2474d685480f437b68e0fbb110b33f7541a4fe1d.zip
cpython-2474d685480f437b68e0fbb110b33f7541a4fe1d.tar.gz
cpython-2474d685480f437b68e0fbb110b33f7541a4fe1d.tar.bz2
Fix up description of 'S' format; as Dave Ascher pointed out, it
was ungrammatical to the point of saying the opposite of what it should say.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/ext.tex6
-rw-r--r--Doc/ext/ext.tex6
2 files changed, 6 insertions, 6 deletions
diff --git a/Doc/ext.tex b/Doc/ext.tex
index 19265d1..d8d5a43 100644
--- a/Doc/ext.tex
+++ b/Doc/ext.tex
@@ -653,9 +653,9 @@ has failed. When the conversion fails, the \var{converter} function
should raise an exception.
\item[\samp{S} (string) {[PyStringObject *]}]
-Like \samp{O} but raises a \code{TypeError} exception that the object
-is a string object. The \C{} variable may also be declared as
-\code{PyObject *}.
+Like \samp{O} but requires that the Python object is a string object.
+Raises a \code{TypeError} exception if the object is not a string
+object. The \C{} variable may also be declared as \code{PyObject *}.
\item[\samp{(\var{items})} (tuple) {[\var{matching-items}]}]
The object must be a Python tuple whose length is the number of format
diff --git a/Doc/ext/ext.tex b/Doc/ext/ext.tex
index 19265d1..d8d5a43 100644
--- a/Doc/ext/ext.tex
+++ b/Doc/ext/ext.tex
@@ -653,9 +653,9 @@ has failed. When the conversion fails, the \var{converter} function
should raise an exception.
\item[\samp{S} (string) {[PyStringObject *]}]
-Like \samp{O} but raises a \code{TypeError} exception that the object
-is a string object. The \C{} variable may also be declared as
-\code{PyObject *}.
+Like \samp{O} but requires that the Python object is a string object.
+Raises a \code{TypeError} exception if the object is not a string
+object. The \C{} variable may also be declared as \code{PyObject *}.
\item[\samp{(\var{items})} (tuple) {[\var{matching-items}]}]
The object must be a Python tuple whose length is the number of format