[Python-checkins] python/dist/src/Lib/xml/dom __init__.py,1.12,1.13

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Thu, 27 Feb 2003 12:15:25 -0800


Update of /cvsroot/python/python/dist/src/Lib/xml/dom
In directory sc8-pr-cvs1:/tmp/cvs-serv3136/xml/dom

Modified Files:
	__init__.py 
Log Message:
Get rid of many apply() calls.

Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/dom/__init__.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** __init__.py	25 Jan 2003 17:11:07 -0000	1.12
--- __init__.py	27 Feb 2003 20:14:51 -0000	1.13
***************
*** 67,71 ****
              raise RuntimeError(
                  "DOMException should not be instantiated directly")
!         apply(Exception.__init__, (self,) + args, kw)
  
      def _get_code(self):
--- 67,71 ----
              raise RuntimeError(
                  "DOMException should not be instantiated directly")
!         Exception.__init__(self, *args, **kw)
  
      def _get_code(self):