diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 +0000 |
commit | 182b5aca27d376b08a2904bed42b751496f932f3 (patch) | |
tree | df13115820dbc879c0fe2eae488c9f8c0215a7da /Demo/tkinter/matt/subclass-existing-widgets.py | |
parent | e6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff) | |
download | cpython-git-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz |
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Demo/tkinter/matt/subclass-existing-widgets.py')
-rw-r--r-- | Demo/tkinter/matt/subclass-existing-widgets.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Demo/tkinter/matt/subclass-existing-widgets.py b/Demo/tkinter/matt/subclass-existing-widgets.py index e79dd5c875..0e08f92065 100644 --- a/Demo/tkinter/matt/subclass-existing-widgets.py +++ b/Demo/tkinter/matt/subclass-existing-widgets.py @@ -5,9 +5,9 @@ from Tkinter import * class New_Button(Button): def callback(self): - print self.counter - self.counter = self.counter + 1 - + print self.counter + self.counter = self.counter + 1 + def createWidgets(top): f = Frame(top) f.pack() @@ -26,4 +26,3 @@ def createWidgets(top): root = Tk() createWidgets(root) root.mainloop() - |