[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.156,1.157

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sun Dec 7 06:24:06 EST 2003


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv16378
Modified Files:
	libfuncs.tex 
Log Message:
Put str() in alphabetical order.
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.156
retrieving revision 1.157
diff -C2 -d -r1.156 -r1.157
*** libfuncs.tex	5 Dec 2003 18:57:00 -0000	1.156
--- libfuncs.tex	7 Dec 2003 11:24:03 -0000	1.157
***************
*** 909,912 ****
--- 909,922 ----
 \end{funcdesc}
 
+ \begin{funcdesc}{str}{\optional{object}}
+ Return a string containing a nicely printable representation of an
+ object. For strings, this returns the string itself. The
+ difference with \code{repr(\var{object})} is that
+ \code{str(\var{object})} does not always attempt to return a string
+ that is acceptable to \function{eval()}; its goal is to return a
+ printable string. If no argument is given, returns the empty
+ string, \code{''}.
+ \end{funcdesc}
+ 
 \begin{funcdesc}{sum}{sequence\optional{, start}}
 Sums \var{start} and the items of a \var{sequence}, from left to
***************
*** 935,948 ****
 \end{verbatim}
 \versionadded{2.2}
- \end{funcdesc}
- 
- \begin{funcdesc}{str}{\optional{object}}
- Return a string containing a nicely printable representation of an
- object. For strings, this returns the string itself. The
- difference with \code{repr(\var{object})} is that
- \code{str(\var{object})} does not always attempt to return a string
- that is acceptable to \function{eval()}; its goal is to return a
- printable string. If no argument is given, returns the empty
- string, \code{''}.
 \end{funcdesc}
 
--- 945,948 ----


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /