summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-12-15 21:07:59 (GMT)
committerFred Drake <fdrake@acm.org>2000-12-15 21:07:59 (GMT)
commit279aa6cabcd728b093c05016b0a8908cbe5e784c (patch)
tree82afe254c413ebae40544a1e72cdffe3ea9fe981 /Lib/xml
parent5080b3304675019c0e215c6398301ec6c4f9fd88 (diff)
downloadcpython-279aa6cabcd728b093c05016b0a8908cbe5e784c.zip
cpython-279aa6cabcd728b093c05016b0a8908cbe5e784c.tar.gz
cpython-279aa6cabcd728b093c05016b0a8908cbe5e784c.tar.bz2
DOMException.__init__(): Remember to pass self to Exception.__init__().
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/dom/__init__.py2
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):