summaryrefslogtreecommitdiffstats
path: root/Lib/xml/sax/handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xml/sax/handler.py')
-rw-r--r--Lib/xml/sax/handler.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/Lib/xml/sax/handler.py b/Lib/xml/sax/handler.py
index c80457c..0931014 100644
--- a/Lib/xml/sax/handler.py
+++ b/Lib/xml/sax/handler.py
@@ -20,13 +20,14 @@ version = '2.0beta'
# ===== ERRORHANDLER =====
class ErrorHandler:
- """Basic interface for SAX error handlers. If you create an object
- that implements this interface, then register the object with your
- Parser, the parser will call the methods in your object to report
- all warnings and errors. There are three levels of errors
- available: warnings, (possibly) recoverable errors, and
- unrecoverable errors. All methods take a SAXParseException as the
- only parameter."""
+ """Basic interface for SAX error handlers.
+
+ If you create an object that implements this interface, then
+ register the object with your XMLReader, the parser will call the
+ methods in your object to report all warnings and errors. There
+ are three levels of errors available: warnings, (possibly)
+ recoverable errors, and unrecoverable errors. All methods take a
+ SAXParseException as the only parameter."""
def error(self, exception):
"Handle a recoverable error."