[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex,1.116,1.117

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Sun, 12 Jan 2003 20:29:22 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv12902

Modified Files:
	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.116
retrieving revision 1.117
diff -C2 -d -r1.116 -r1.117
*** libstdtypes.tex	2 Jan 2003 20:51:03 -0000	1.116
--- libstdtypes.tex	13 Jan 2003 04:29:19 -0000	1.117
***************
*** 835,839 ****
                \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.}{}
--- 835,839 ----
                \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.}{}
***************
*** 856,859 ****
--- 856,862 ----
    \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}