diff options
author | Fred Drake <fdrake@acm.org> | 2000-12-15 21:07:59 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-12-15 21:07:59 (GMT) |
commit | 279aa6cabcd728b093c05016b0a8908cbe5e784c (patch) | |
tree | 82afe254c413ebae40544a1e72cdffe3ea9fe981 /Lib/xml/dom | |
parent | 5080b3304675019c0e215c6398301ec6c4f9fd88 (diff) | |
download | cpython-279aa6cabcd728b093c05016b0a8908cbe5e784c.zip cpython-279aa6cabcd728b093c05016b0a8908cbe5e784c.tar.gz cpython-279aa6cabcd728b093c05016b0a8908cbe5e784c.tar.bz2 |
DOMException.__init__(): Remember to pass self to Exception.__init__().
Diffstat (limited to 'Lib/xml/dom')
-rw-r--r-- | Lib/xml/dom/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class DOMException(Exception): 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): |