diff options
Diffstat (limited to 'Lib/xml/dom/domreg.py')
-rw-r--r-- | Lib/xml/dom/domreg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/dom/domreg.py b/Lib/xml/dom/domreg.py index 117ca49..684c436 100644 --- a/Lib/xml/dom/domreg.py +++ b/Lib/xml/dom/domreg.py @@ -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: " + `feature` + raise ValueError, "bad feature name: %r" % (feature,) i = i + 1 version = None if i < length: |