[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.100.4.3,1.100.4.4
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Sat, 29 Jun 2002 09:11:11 -0700
- Previous message: [Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.108,1.109
- Next message: [Python-checkins] python/dist/src/Lib asynchat.py,1.18,1.19 cgi.py,1.73,1.74 cmd.py,1.30,1.31 mailbox.py,1.37,1.38 imaplib.py,1.53,1.54 multifile.py,1.20,1.21 mutex.py,1.10,1.11 Queue.py,1.15,1.16 threading.py,1.23,1.24 pickle.py,1.66,1.67 xmlrpclib.py,1.19,1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv23751/lib
Modified Files:
Tag: release22-maint
libfuncs.tex
Log Message:
Clarify the version information for the unicode() built-in.
Closes SF bug #575272.
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.100.4.3
retrieving revision 1.100.4.4
diff -C2 -d -r1.100.4.3 -r1.100.4.4
*** libfuncs.tex 17 Apr 2002 12:54:56 -0000 1.100.4.3
--- libfuncs.tex 29 Jun 2002 16:11:08 -0000 1.100.4.4
***************
*** 834,844 ****
instead of 8-bit strings. More precisely, if \var{object} is an
Unicode string or subclass it will return a Unicode string without
! any additional decoding applied. For objects which provide a
! \code{__unicode__} method, it will call this method without
! arguments to create a Unicode string. For all other objects, the
! 8-bit string version or representation is requested and then
! converted to a Unicode string using the codec for the default
! encoding in \code{'strict'} mode.
\versionadded{2.0}
\end{funcdesc}
--- 834,847 ----
instead of 8-bit strings. More precisely, if \var{object} is an
Unicode string or subclass it will return a Unicode string without
! any additional decoding applied.
!
! For objects which provide a \method{__unicode__()} method, it will
! call this method without arguments to create a Unicode string. For
! all other objects, the 8-bit string version or representation is
! requested and then converted to a Unicode string using the codec for
! the default encoding in \code{'strict'} mode.
!
\versionadded{2.0}
+ \versionchanged[Support for \method{__unicode__()} added]{2.2}
\end{funcdesc}
- Previous message: [Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.108,1.109
- Next message: [Python-checkins] python/dist/src/Lib asynchat.py,1.18,1.19 cgi.py,1.73,1.74 cmd.py,1.30,1.31 mailbox.py,1.37,1.38 imaplib.py,1.53,1.54 multifile.py,1.20,1.21 mutex.py,1.10,1.11 Queue.py,1.15,1.16 threading.py,1.23,1.24 pickle.py,1.66,1.67 xmlrpclib.py,1.19,1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]