summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/matt/printing-coords-of-items.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/matt/printing-coords-of-items.py')
-rw-r--r--Demo/tkinter/matt/printing-coords-of-items.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/matt/printing-coords-of-items.py b/Demo/tkinter/matt/printing-coords-of-items.py
index a37733d..c74c1c3 100644
--- a/Demo/tkinter/matt/printing-coords-of-items.py
+++ b/Demo/tkinter/matt/printing-coords-of-items.py
@@ -35,7 +35,7 @@ class Test(Frame):
# the "current" tag is applied to the object the cursor is over.
# this happens automatically.
self.draw.itemconfig(CURRENT, fill="red")
- print self.draw.coords(CURRENT)
+ print(self.draw.coords(CURRENT))
def mouseLeave(self, event):
# the "current" tag is applied to the object the cursor is over.