summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-07-02 14:29:14 (GMT)
committerFred Drake <fdrake@acm.org>1999-07-02 14:29:14 (GMT)
commit82ac24ffb002292e9ea90f1687b8fbae1eaf6fde (patch)
tree6a119f716e5718fd47a077541feb73a3adff6295
parent0452007dccc079be508acedac4951b9893a34e78 (diff)
downloadcpython-82ac24ffb002292e9ea90f1687b8fbae1eaf6fde.zip
cpython-82ac24ffb002292e9ea90f1687b8fbae1eaf6fde.tar.gz
cpython-82ac24ffb002292e9ea90f1687b8fbae1eaf6fde.tar.bz2
Minor markup nit.
-rw-r--r--Doc/ext/ext.tex2
-rw-r--r--Doc/lib/libstdtypes.tex4
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/ext/ext.tex b/Doc/ext/ext.tex
index 33d6492..04ffcbf 100644
--- a/Doc/ext/ext.tex
+++ b/Doc/ext/ext.tex
@@ -694,7 +694,7 @@ second is the address of a C variable (of arbitrary type), converted
to \ctype{void *}. The \var{converter} function in turn is called as
follows:
-\code{\var{status} = \var{converter}(\var{object}, \var{address});}
+\var{status}\code{ = }\var{converter}\code{(}\var{object}, \var{address}\code{);}
where \var{object} is the Python object to be converted and
\var{address} is the \ctype{void *} argument that was passed to
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index f24da0c..517cc88 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -190,8 +190,8 @@ integer is smaller than long integer is smaller than floating point is
smaller than complex.
Comparisons between numbers of mixed type use the same rule.\footnote{
As a consequence, the list \code{[1, 2]} is considered equal
- to \code{[1.0, 2.0]}, and similar for tuples.}
-The functions \function{int()}, \function{long()}, \function{float()},
+ to \code{[1.0, 2.0]}, and similar for tuples.
+} The functions \function{int()}, \function{long()}, \function{float()},
and \function{complex()} can be used
to coerce numbers to a specific type.
\index{arithmetic}