projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b56c0e2
)
Guard against rogue tuples.
author
Georg Brandl
<georg@python.org>
Thu, 9 Dec 2010 18:26:02 +0000
(18:26 +0000)
committer
Georg Brandl
<georg@python.org>
Thu, 9 Dec 2010 18:26:02 +0000
(18:26 +0000)
Lib/xml/etree/ElementTree.py
patch
|
blob
|
history
diff --git
a/Lib/xml/etree/ElementTree.py
b/Lib/xml/etree/ElementTree.py
index ef94e146abe8e873753d225073a0befa84371723..53aa9e755f1e1a633e05426a65ad5d18201a050a 100644
(file)
--- 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):