summaryrefslogtreecommitdiff
path: root/Lib/xml/dom/xmlbuilder.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xml/dom/xmlbuilder.py')
-rw-r--r--Lib/xml/dom/xmlbuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/dom/xmlbuilder.py b/Lib/xml/dom/xmlbuilder.py
index fd43c37ed3..5c044128f6 100644
--- a/Lib/xml/dom/xmlbuilder.py
+++ b/Lib/xml/dom/xmlbuilder.py
@@ -81,7 +81,7 @@ class DOMBuilder:
settings = self._settings[(_name_xform(name), state)]
except KeyError:
raise xml.dom.NotSupportedErr(
- "unsupported feature: " + `name`)
+ "unsupported feature: %r" % (name,))
else:
for name, value in settings:
setattr(self._options, name, value)