summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2015-11-27 07:21:41 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-25 06:41:35 (GMT)
commitd4d4c8e7b45afeb6f0433a1c90ec51df4c6c6d43 (patch)
treec69a766ba2b5cb96f67a394fe950681caba7d0d2
parenteb4f36135146f6dad587f784ebc62abe0f7d581a (diff)
Hand.__unicode__: new
-rw-r--r--src/hand.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hand.py b/src/hand.py
index b42dbe8..8ec85ee 100644
--- a/src/hand.py
+++ b/src/hand.py
@@ -747,6 +747,10 @@ class Hand(object):
"""hand as a string"""
return self.newString()
+ def __unicode__(self):
+ """hand as a string"""
+ return self.newString()
+
def __repr__(self):
"""the default representation"""
return 'Hand(%s)' % str(self)