diff options
author | Fred Drake <fdrake@acm.org> | 2006-09-15 16:11:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2006-09-15 16:11:27 (GMT) |
commit | 13782a3359f9b308dd03562ccc6d051470e929bc (patch) | |
tree | 0c94209ab0812ebf6e001b01623347022a0426ba /Doc | |
parent | a58f1236022ed477a103abf127cdf0df0427dec7 (diff) | |
download | cpython-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)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libpyexpat.tex | 7 |
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} |