[Python-checkins] r51891 - python/trunk/Doc/lib/libpyexpat.tex
fred.drake
python-checkins at python.org
Fri Sep 15 18:11:27 CEST 2006
Author: fred.drake
Date: Fri Sep 15 18:11:27 2006
New Revision: 51891
Modified:
python/trunk/Doc/lib/libpyexpat.tex
Log:
revise explanation of returns_unicode to reflect bool values
and to include the default value
(merged from release25-maint revision 51890)
Modified: python/trunk/Doc/lib/libpyexpat.tex
==============================================================================
--- python/trunk/Doc/lib/libpyexpat.tex (original)
+++ python/trunk/Doc/lib/libpyexpat.tex Fri Sep 15 18:11:27 2006
@@ -216,9 +216,10 @@
\begin{memberdesc}[xmlparser]{returns_unicode}
If this attribute is set to a non-zero integer, the handler functions
-will be passed Unicode strings. If \member{returns_unicode} is 0,
-8-bit strings containing UTF-8 encoded data will be passed to the
-handlers.
+will be passed Unicode strings. If \member{returns_unicode} is
+\constant{False}, 8-bit strings containing UTF-8 encoded data will be
+passed to the handlers. This is \constant{True} by default when
+Python is built with Unicode support.
\versionchanged[Can be changed at any time to affect the result
type]{1.6}
\end{memberdesc}
More information about the Python-checkins
mailing list