mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Minor markup nit.
This commit is contained in:
parent
0452007dcc
commit
82ac24ffb0
2 changed files with 3 additions and 3 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue