Mailing List Archive

python/dist/src/Doc/ref ref3.tex,1.85,1.86
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv6415

Modified Files:
ref3.tex
Log Message:
Document __unicode__. Fixes #541245.


Index: ref3.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref3.tex,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -d -r1.85 -r1.86
*** ref3.tex 3 Apr 2002 22:41:50 -0000 1.85
--- ref3.tex 11 Apr 2002 12:39:35 -0000 1.86
***************
*** 1097,1100 ****
--- 1097,1107 ----
\end{methoddesc}

+ \begin{methoddesc}[object]{__unicode__}{self}
+ Called to implement \function{unicode()}\bifuncindex{unicode} builtin;
+ should return a Unicode object. When this method is not defined, string
+ conversion is attempted, and the result of string conversion is converted
+ to Unicode using the system default encoding.
+ \end{methoddesc}
+

\subsection{Customizing attribute access\label{attribute-access}}