Commit 2a519f8f authored by Martin v. Löwis's avatar Martin v. Löwis

Document __unicode__. Fixes #541245.

parent 81bdc93d
......@@ -1096,6 +1096,13 @@ considered true.
\withsubitem{(mapping object method)}{\ttindex{__len__()}}
\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}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment