summaryrefslogtreecommitdiffstats
path: root/Lib/xml/dom
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xml/dom')
-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):