Commit 50e7a11a authored by Guido van Rossum's avatar Guido van Rossum

Correct misrepresentation of print (it uses str(), not `...` for

conversion).  Hopefully I've not messed up the formatting.
parent af785127
...@@ -13,9 +13,11 @@ classes, instances and exceptions. ...@@ -13,9 +13,11 @@ classes, instances and exceptions.
\indexii{built-in}{types} \indexii{built-in}{types}
Some operations are supported by several object types; in particular, Some operations are supported by several object types; in particular,
all objects can be compared, tested for truth value, and converted to practically all objects can be compared, tested for truth value,
a string (with the \code{`\textrm{\ldots}`} notation). The latter and converted to a string (with the \code{`\textrm{\ldots}`} notation,
conversion is implicitly used when an object is written by the 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. \keyword{print}\stindex{print} statement.
(Information on \ulink{\keyword{print} statement}{../ref/print.html} (Information on \ulink{\keyword{print} statement}{../ref/print.html}
and other language statements can be found in the and other language statements can be found in the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment