From: Guido van Rossum Date: Wed, 31 Dec 2003 06:32:38 +0000 (+0000) Subject: Correct misrepresentation of print (it uses str(), not `...` for X-Git-Tag: v2.4a1~1013 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=50e7a11af11be5ef580affba6741abd7d87d4781;p=thirdparty%2FPython%2Fcpython.git Correct misrepresentation of print (it uses str(), not `...` for conversion). Hopefully I've not messed up the formatting. --- diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 75d6e4bea1ec..925aac0f930c 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