Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ec155f

Browse files
committed
Fix relative import. This fixes test_sax.py.
1 parent e4dea98 commit 7ec155f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/xmlcore/sax/xmlreader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __init__(self, bufsize=2**16):
113113
XMLReader.__init__(self)
114114

115115
def parse(self, source):
116-
import saxutils
116+
from . import saxutils
117117
source = saxutils.prepare_input_source(source)
118118

119119
self.prepareParser(source)

0 commit comments

Comments
 (0)