Commit c95c9188 authored by Georg Brandl's avatar Georg Brandl

Guard against rogue tuples.

parent b56c0e24
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment