summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.sax.handler.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/xml.sax.handler.rst')
-rw-r--r--Doc/library/xml.sax.handler.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/library/xml.sax.handler.rst b/Doc/library/xml.sax.handler.rst
index ae0877c..15140a3 100644
--- a/Doc/library/xml.sax.handler.rst
+++ b/Doc/library/xml.sax.handler.rst
@@ -1,15 +1,14 @@
+
:mod:`xml.sax.handler` --- Base classes for SAX handlers
========================================================
.. module:: xml.sax.handler
:synopsis: Base classes for SAX event handlers.
-
.. moduleauthor:: Lars Marius Garshol <larsga@garshol.priv.no>
.. sectionauthor:: Martin v. Löwis <martin@v.loewis.de>
-**Source code:** :source:`Lib/xml/sax/handler.py`
---------------
+.. versionadded:: 2.0
The SAX API defines four kinds of handlers: content handlers, DTD handlers,
error handlers, and entity resolvers. Applications normally only need to
@@ -295,8 +294,8 @@ events in the input document:
must come from the same external entity so that the Locator provides useful
information.
- *content* may be a string or bytes instance; the ``expat`` reader module
- always produces strings.
+ *content* may be a Unicode string or a byte string; the ``expat`` reader module
+ produces always Unicode strings.
.. note::