[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


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}