summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-12-31 06:32:38 (GMT)
committerGuido van Rossum <guido@python.org>2003-12-31 06:32:38 (GMT)
commit50e7a11af11be5ef580affba6741abd7d87d4781 (patch)
treec61d96566f53e16f9951eabce594cf528a2e7673 /Doc
parentaf785127128303420c0ff7130b5cd0bb18010344 (diff)
downloadcpython-50e7a11af11be5ef580affba6741abd7d87d4781.zip
cpython-50e7a11af11be5ef580affba6741abd7d87d4781.tar.gz
cpython-50e7a11af11be5ef580affba6741abd7d87d4781.tar.bz2
Correct misrepresentation of print (it uses str(), not `...` for
conversion). Hopefully I've not messed up the formatting.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libstdtypes.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index 75d6e4b..925aac0 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -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