[Python-checkins] CVS: python/dist/src/Lib/xml/dom pulldom.py,1.3,1.4

Lars Marius Garshol python-dev@python.org
Thu, 21 Sep 2000 01:38:49 -0700


Update of /cvsroot/python/python/dist/src/Lib/xml/dom
In directory slayer.i.sourceforge.net:/tmp/cvs-serv5044

Modified Files:
	pulldom.py 
Log Message:
Now uses make_parser to create its parser (patch 101573).


Index: pulldom.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/dom/pulldom.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** pulldom.py	2000/07/04 03:39:33	1.3
--- pulldom.py	2000/09/21 08:38:46	1.4
***************
*** 3,7 ****
  import string
  import sys
! from xml.sax import ExpatParser
  
  #todo: SAX2/namespace handling
--- 3,7 ----
  import string
  import sys
! import xml.sax
  
  #todo: SAX2/namespace handling
***************
*** 167,171 ****
          
  def _getParser():
!      return ExpatParser()
  
  default_bufsize=(2**14)-20
--- 167,171 ----
          
  def _getParser():
!      return xml.sax.make_parser()
  
  default_bufsize=(2**14)-20