summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/matt/killing-window-w-wm.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/matt/killing-window-w-wm.py')
-rw-r--r--Demo/tkinter/matt/killing-window-w-wm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/tkinter/matt/killing-window-w-wm.py b/Demo/tkinter/matt/killing-window-w-wm.py
index 6a0e2fe..23ac103 100644
--- a/Demo/tkinter/matt/killing-window-w-wm.py
+++ b/Demo/tkinter/matt/killing-window-w-wm.py
@@ -7,11 +7,11 @@ from Tkinter import *
### ******* this isn't really called -- read the comments
def my_delete_callback():
- print "whoops -- tried to delete me!"
+ print("whoops -- tried to delete me!")
class Test(Frame):
def deathHandler(self, event):
- print self, "is now getting nuked. performing some save here...."
+ print(self, "is now getting nuked. performing some save here....")
def createWidgets(self):
# a hello button