summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/guido/solitaire.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/guido/solitaire.py')
-rwxr-xr-xDemo/tkinter/guido/solitaire.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/solitaire.py b/Demo/tkinter/guido/solitaire.py
index bd7328d..a205afd 100755
--- a/Demo/tkinter/guido/solitaire.py
+++ b/Demo/tkinter/guido/solitaire.py
@@ -183,7 +183,7 @@ class Card:
def __repr__(self):
"""Return a string for debug print statements."""
- return "Card(%s, %s)" % (`self.suit`, `self.value`)
+ return "Card(%r, %r)" % (self.suit, self.value)
def moveto(self, x, y):
"""Move the card to absolute position (x, y)."""