]> granicus.if.org Git - python/commitdiff
Now uses make_parser to create its parser (patch 101573).
authorLars Gustäbel <lars@gustaebel.de>
Thu, 21 Sep 2000 08:38:46 +0000 (08:38 +0000)
committerLars Gustäbel <lars@gustaebel.de>
Thu, 21 Sep 2000 08:38:46 +0000 (08:38 +0000)
Lib/xml/dom/pulldom.py

index 1f7c6997514e205f01fd0d1ece01548f0a8d20f6..ae8ea1cafe99eea2a5467c3357f9b44f84468e71 100644 (file)
@@ -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