From b798c0109f56dc077bdd7d24fefb7b2c44afe98b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gust=C3=A4bel?= Date: Thu, 21 Sep 2000 08:38:46 +0000 Subject: Now uses make_parser to create its parser (patch 101573). --- Lib/xml/dom/pulldom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/xml/dom/pulldom.py b/Lib/xml/dom/pulldom.py index 1f7c699..ae8ea1c 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 -- cgit v0.12