Minor markup nit.

This commit is contained in:
Fred Drake 1999-07-02 14:29:14 +00:00
parent 0452007dcc
commit 82ac24ffb0
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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}