commit | 279aa6cabcd728b093c05016b0a8908cbe5e784c | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Dec 15 21:07:59 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Dec 15 21:07:59 2000 +0000 |
tree | 82afe254c413ebae40544a1e72cdffe3ea9fe981 | |
parent | 5080b3304675019c0e215c6398301ec6c4f9fd88 [diff] [blame] |
DOMException.__init__(): Remember to pass self to Exception.__init__().
diff --git a/Lib/xml/dom/__init__.py b/Lib/xml/dom/__init__.py index b1211f4..ca44b2d 100644 --- a/Lib/xml/dom/__init__.py +++ b/Lib/xml/dom/__init__.py
@@ -65,7 +65,7 @@ if self.__class__ is DOMException: raise RuntimeError( "DOMException should not be instaniated directly") - apply(Exception.__init__, args, kw) + apply(Exception.__init__, (self,) + args, kw) class IndexSizeErr(DOMException):