summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2006-09-15 16:11:27 (GMT)
committerFred Drake <fdrake@acm.org>2006-09-15 16:11:27 (GMT)
commit13782a3359f9b308dd03562ccc6d051470e929bc (patch)
tree0c94209ab0812ebf6e001b01623347022a0426ba
parenta58f1236022ed477a103abf127cdf0df0427dec7 (diff)
downloadcpython-13782a3359f9b308dd03562ccc6d051470e929bc.zip
cpython-13782a3359f9b308dd03562ccc6d051470e929bc.tar.gz
cpython-13782a3359f9b308dd03562ccc6d051470e929bc.tar.bz2
revise explanation of returns_unicode to reflect bool values
and to include the default value (merged from release25-maint revision 51890)
-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 83581ec..a0ea8a1 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}