summaryrefslogtreecommitdiffstats
path: root/Lib/xml/sax/xmlreader.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xml/sax/xmlreader.py')
-rw-r--r--Lib/xml/sax/xmlreader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/xml/sax/xmlreader.py b/Lib/xml/sax/xmlreader.py
index 9a2361e..1cade65 100644
--- a/Lib/xml/sax/xmlreader.py
+++ b/Lib/xml/sax/xmlreader.py
@@ -1,9 +1,9 @@
"""An XML Reader is the SAX 2 name for an XML parser. XML Parsers
should be based on this code. """
-import handler
+from . import handler
-from _exceptions import SAXNotSupportedException, SAXNotRecognizedException
+from ._exceptions import SAXNotSupportedException, SAXNotRecognizedException
# ===== XMLREADER =====
@@ -113,7 +113,7 @@ class IncrementalParser(XMLReader):
XMLReader.__init__(self)
def parse(self, source):
- import saxutils
+ from . import saxutils
source = saxutils.prepare_input_source(source)
self.prepareParser(source)