summaryrefslogtreecommitdiffstats
path: root/Lib/xml/dom/domreg.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xml/dom/domreg.py')
-rw-r--r--Lib/xml/dom/domreg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xml/dom/domreg.py b/Lib/xml/dom/domreg.py
index cfd8231..f653563 100644
--- a/Lib/xml/dom/domreg.py
+++ b/Lib/xml/dom/domreg.py
@@ -77,7 +77,7 @@ def getDOMImplementation(name = None, features = ()):
if _good_enough(dom, features):
return dom
- raise ImportError,"no suitable DOM implementation found"
+ raise ImportError("no suitable DOM implementation found")
def _parse_feature_string(s):
features = []
@@ -87,7 +87,7 @@ def _parse_feature_string(s):
while i < length:
feature = parts[i]
if feature[0] in "0123456789":
- raise ValueError, "bad feature name: %r" % (feature,)
+ raise ValueError("bad feature name: %r" % (feature,))
i = i + 1
version = None
if i < length: