diff options
Diffstat (limited to 'Demo/tkinter/matt/subclass-existing-widgets.py')
-rw-r--r-- | Demo/tkinter/matt/subclass-existing-widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/matt/subclass-existing-widgets.py b/Demo/tkinter/matt/subclass-existing-widgets.py index 0e08f92..fc04859 100644 --- a/Demo/tkinter/matt/subclass-existing-widgets.py +++ b/Demo/tkinter/matt/subclass-existing-widgets.py @@ -5,7 +5,7 @@ from Tkinter import * class New_Button(Button): def callback(self): - print self.counter + print(self.counter) self.counter = self.counter + 1 def createWidgets(top): |