mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Correct misrepresentation of print (it uses str(), not ... for
conversion). Hopefully I've not messed up the formatting.
This commit is contained in:
parent
af78512712
commit
50e7a11af1
1 changed files with 5 additions and 3 deletions
|
|
@ -13,9 +13,11 @@ classes, instances and exceptions.
|
|||
\indexii{built-in}{types}
|
||||
|
||||
Some operations are supported by several object types; in particular,
|
||||
all objects can be compared, tested for truth value, and converted to
|
||||
a string (with the \code{`\textrm{\ldots}`} notation). The latter
|
||||
conversion is implicitly used when an object is written by the
|
||||
practically all objects can be compared, tested for truth value,
|
||||
and converted to a string (with the \code{`\textrm{\ldots}`} notation,
|
||||
the equivalent \function{repr()} function, or the slightly different
|
||||
\function{str()} function). The latter
|
||||
function is implicitly used when an object is written by the
|
||||
\keyword{print}\stindex{print} statement.
|
||||
(Information on \ulink{\keyword{print} statement}{../ref/print.html}
|
||||
and other language statements can be found in the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue