[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex,1.80.6.17,1.80.6.18

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
2003年1月12日 20:33:39 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv14215
Modified Files:
 Tag: release22-maint
	libstdtypes.tex 
Log Message:
SF patch 664183 and SF bug 664044: Note that both u'%s' % 'x' and
'%s' % u'x' return a unicode object.
Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.80.6.17
retrieving revision 1.80.6.18
diff -C2 -d -r1.80.6.17 -r1.80.6.18
*** libstdtypes.tex	29 Dec 2002 05:59:08 -0000	1.80.6.17
--- libstdtypes.tex	13 Jan 2003 04:33:36 -0000	1.80.6.18
***************
*** 827,831 ****
 \function{repr()}).}{(3)}
 \lineiii{s}{String (converts any python object using
! \function{str()}).}{}
 \lineiii{\%}{No argument is converted, results in a \character{\%}
 character in the result.}{}
--- 827,831 ----
 \function{repr()}).}{(3)}
 \lineiii{s}{String (converts any python object using
! \function{str()}).}{(4)}
 \lineiii{\%}{No argument is converted, results in a \character{\%}
 character in the result.}{}
***************
*** 848,851 ****
--- 848,854 ----
 \item[(3)]
 The \code{\%r} conversion was added in Python 2.0.
+ \item[(4)]
+ If the object or format provided is a \class{unicode} string,
+ the resulting string will also be \class{unicode}.
 \end{description}
 

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