summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/xml/etree/ElementTree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/etree/ElementTree.py b/Lib/xml/etree/ElementTree.py
index ef94e14..53aa9e7 100644
--- a/Lib/xml/etree/ElementTree.py
+++ b/Lib/xml/etree/ElementTree.py
@@ -585,7 +585,7 @@ class QName:
def __str__(self):
return self.text
def __repr__(self):
- return '<QName %r>' % self.text
+ return '<QName %r>' % (self.text,)
def __hash__(self):
return hash(self.text)
def __le__(self, other):