summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-04-21 13:52:56 (GMT)
committerGuido van Rossum <guido@python.org>2006-04-21 13:52:56 (GMT)
commit7ec155f5be6cdcbf55a607c2846cbd4ea80c3681 (patch)
tree8fb4f8315252abc286cdd52d052f628e48e03113 /Lib
parente4dea98e5aed37b71625cd76988433f5f8bee379 (diff)
downloadcpython-7ec155f5be6cdcbf55a607c2846cbd4ea80c3681.zip
cpython-7ec155f5be6cdcbf55a607c2846cbd4ea80c3681.tar.gz
cpython-7ec155f5be6cdcbf55a607c2846cbd4ea80c3681.tar.bz2
Fix relative import. This fixes test_sax.py.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/xmlcore/sax/xmlreader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlcore/sax/xmlreader.py b/Lib/xmlcore/sax/xmlreader.py
index 6b37d37..1cade65 100644
--- a/Lib/xmlcore/sax/xmlreader.py
+++ b/Lib/xmlcore/sax/xmlreader.py
@@ -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)