summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/matt/pong-demo-1.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/matt/pong-demo-1.py')
-rw-r--r--Demo/tkinter/matt/pong-demo-1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/matt/pong-demo-1.py b/Demo/tkinter/matt/pong-demo-1.py
index dacaa38..a27f334 100644
--- a/Demo/tkinter/matt/pong-demo-1.py
+++ b/Demo/tkinter/matt/pong-demo-1.py
@@ -39,7 +39,7 @@ class Pong(Frame):
self.x = self.x + deltax
self.y = self.y + deltay
- self.draw.move(self.ball, `deltax` + "i", `deltay` + "i")
+ self.draw.move(self.ball, "%ri" % deltax, "%ri" % deltay)
self.after(10, self.moveBall)
def __init__(self, master=None):