Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5080b33 commit 279aa6cCopy full SHA for 279aa6c
1 file changed
Lib/xml/dom/__init__.py
@@ -65,7 +65,7 @@ def __init__(self, *args, **kw):
65
if self.__class__ is DOMException:
66
raise RuntimeError(
67
"DOMException should not be instaniated directly")
68
- apply(Exception.__init__, args, kw)
+ apply(Exception.__init__, (self,) + args, kw)
69
70
71
class IndexSizeErr(DOMException):
0 commit comments