diff options
author | Fred Drake <fdrake@acm.org> | 2000-12-15 21:07:59 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-12-15 21:07:59 +0000 |
commit | a35b04d5f4850f8e77f8ab1b6dacf3271715d7c2 (patch) | |
tree | fd6a630d2327160857c212bb249dcb3bf16a6575 | |
parent | c41ea40d65f990948febb2194ee155abe124e1e7 (diff) | |
download | cpython-a35b04d5f4850f8e77f8ab1b6dacf3271715d7c2.tar.gz |
DOMException.__init__(): Remember to pass self to Exception.__init__().
-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 b1211f4a23..ca44b2da2b 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): |