]> granicus.if.org Git - python/commitdiff
revise explanation of returns_unicode to reflect bool values
authorFred Drake <fdrake@acm.org>
Fri, 15 Sep 2006 16:10:25 +0000 (16:10 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 15 Sep 2006 16:10:25 +0000 (16:10 +0000)
and to include the default value

Doc/lib/libpyexpat.tex

index 83581ec9a6519a04202b6b0700551e8322b5c842..a0ea8a1a427a096150967db7c8b4ec82481f4a02 100644 (file)
@@ -216,9 +216,10 @@ any time.
 
 \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}