From: Guido van Rossum Date: Fri, 21 Apr 2006 13:52:56 +0000 (+0000) Subject: Fix relative import. This fixes test_sax.py. X-Git-Tag: v3.0a1~1430 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ec155f5be6cdcbf55a607c2846cbd4ea80c3681;p=python Fix relative import. This fixes test_sax.py. --- diff --git a/Lib/xmlcore/sax/xmlreader.py b/Lib/xmlcore/sax/xmlreader.py index 6b37d37ab4..1cade65fe0 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)