summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2006-09-15 16:10:25 +0000
committerFred Drake <fdrake@acm.org>2006-09-15 16:10:25 +0000
commit137c789e8334b120226711a3f35afa7653d4168f (patch)
tree74201378d443d0d9723e6dfe9bb7255e43f62dc8
parent2e63dbe9acf814389021a552c316ae19f1223df8 (diff)
downloadcpython-git-137c789e8334b120226711a3f35afa7653d4168f.tar.gz
revise explanation of returns_unicode to reflect bool values
and to include the default value
-rw-r--r--Doc/lib/libpyexpat.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/lib/libpyexpat.tex b/Doc/lib/libpyexpat.tex
index 83581ec9a6..a0ea8a1a42 100644
--- a/Doc/lib/libpyexpat.tex
+++ b/Doc/lib/libpyexpat.tex
@@ -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}