Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 31298:ad3faf52e19e legacy-trunk
Correct misrepresentation of print (it uses str(), not `...` for
conversion). Hopefully I've not messed up the formatting.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 31 Dec 2003 06:32:38 +0000 |
| parents | 3894654b4848 |
| children | c088584f5533 |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Wed Dec 31 05:18:46 2003 +0000 +++ b/Doc/lib/libstdtypes.tex Wed Dec 31 06:32:38 2003 +0000 @@ -13,9 +13,11 @@ \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
