python/dist/src/Doc/lib libstdtypes.tex, 1.148, 1.149

Update of /cvsroot/python/python/dist/src/Doc/lib In directory sc8-pr-cvs1:/tmp/cvs-serv22243 Modified Files: libstdtypes.tex Log Message: Correct misrepresentation of print (it uses str(), not `...` for conversion). Hopefully I've not messed up the formatting. Index: libstdtypes.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v retrieving revision 1.148 retrieving revision 1.149 diff -C2 -d -r1.148 -r1.149 *** libstdtypes.tex 30 Dec 2003 22:21:18 -0000 1.148 --- libstdtypes.tex 31 Dec 2003 06:32:38 -0000 1.149 *************** *** 14,20 **** 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 \keyword{print}\stindex{print} statement. (Information on \ulink{\keyword{print} statement}{../ref/print.html} --- 14,22 ---- Some operations are supported by several object types; in particular, ! 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}
participants (1)
-
gvanrossumļ¼ users.sourceforge.net