diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-23 18:09:50 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-23 18:09:50 (GMT) |
commit | 16f6329e6153c4b92f2175a5560e372a762befe6 (patch) | |
tree | 4d3c2f0bfe8e827ed07df59a538fa1d93bb2acb1 /Lib/xml/sax/__init__.py | |
parent | 098b55ab4427aa546a06973cecd5e18080b546fd (diff) | |
download | cpython-16f6329e6153c4b92f2175a5560e372a762befe6.zip cpython-16f6329e6153c4b92f2175a5560e372a762befe6.tar.gz cpython-16f6329e6153c4b92f2175a5560e372a762befe6.tar.bz2 |
Make reindent.py happy (lots of trailing whitespace removed).
Diffstat (limited to 'Lib/xml/sax/__init__.py')
-rw-r--r-- | Lib/xml/sax/__init__.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/xml/sax/__init__.py b/Lib/xml/sax/__init__.py index 447420e..0375e5d 100644 --- a/Lib/xml/sax/__init__.py +++ b/Lib/xml/sax/__init__.py @@ -37,7 +37,7 @@ def parseString(string, handler, errorHandler=ErrorHandler()): from cStringIO import StringIO except ImportError: from StringIO import StringIO - + if errorHandler is None: errorHandler = ErrorHandler() parser = make_parser() @@ -61,8 +61,8 @@ del os _key = "python.xml.sax.parser" if sys.platform[:4] == "java" and sys.registry.containsKey(_key): default_parser_list = string.split(sys.registry.getProperty(_key), ",") - - + + def make_parser(parser_list = []): """Creates and returns a SAX parser. @@ -85,8 +85,8 @@ def make_parser(parser_list = []): # so try the next one pass - raise SAXReaderNotAvailable("No parsers found", None) - + raise SAXReaderNotAvailable("No parsers found", None) + # --- Internal utility methods used by make_parser if sys.platform[ : 4] == "java": |