diff options
author | Lars Gustäbel <lars@gustaebel.de> | 2000-09-21 08:38:46 +0000 |
---|---|---|
committer | Lars Gustäbel <lars@gustaebel.de> | 2000-09-21 08:38:46 +0000 |
commit | ccf3075e7723be47d07770bc23ed0a0053572281 (patch) | |
tree | c21fac144eb564e131a1f68a1bfc22b30cf90578 /Lib/xml | |
parent | fd6df556cff6bdeb53c9032f1392a5d9e6c652c1 (diff) | |
download | cpython-ccf3075e7723be47d07770bc23ed0a0053572281.tar.gz |
Now uses make_parser to create its parser (patch 101573).
Diffstat (limited to 'Lib/xml')
-rw-r--r-- | Lib/xml/dom/pulldom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xml/dom/pulldom.py b/Lib/xml/dom/pulldom.py index 1f7c699751..ae8ea1cafe 100644 --- a/Lib/xml/dom/pulldom.py +++ b/Lib/xml/dom/pulldom.py @@ -2,7 +2,7 @@ import minidom import types import string import sys -from xml.sax import ExpatParser +import xml.sax #todo: SAX2/namespace handling @@ -166,7 +166,7 @@ class DOMEventStream: def _getParser(): - return ExpatParser() + return xml.sax.make_parser() default_bufsize=(2**14)-20 # FIXME: move into sax package for common usage |