diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-02 20:07:46 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-02 20:07:46 (GMT) |
commit | 1eab0028e6cbd8d4b0012d185b8893f6e034daf2 (patch) | |
tree | c69630c61cc25742491afd8fff4669351d4d90b8 /Tools/idle/Percolator.py | |
parent | d6b1cf9a552c3286e3ab382889131e0541cd6c14 (diff) | |
download | cpython-1eab0028e6cbd8d4b0012d185b8893f6e034daf2.zip cpython-1eab0028e6cbd8d4b0012d185b8893f6e034daf2.tar.gz cpython-1eab0028e6cbd8d4b0012d185b8893f6e034daf2.tar.bz2 |
move "from Tkinter import *" to module level
Diffstat (limited to 'Tools/idle/Percolator.py')
-rw-r--r-- | Tools/idle/Percolator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/idle/Percolator.py b/Tools/idle/Percolator.py index 9def5f4..5682111 100644 --- a/Tools/idle/Percolator.py +++ b/Tools/idle/Percolator.py @@ -63,7 +63,6 @@ def main(): def delete(self, *args): print self.name, ": delete", args apply(self.delegate.delete, args) - from Tkinter import * root = Tk() root.wm_protocol("WM_DELETE_WINDOW", root.quit) text = Text() @@ -82,4 +81,5 @@ def main(): root.mainloop() if __name__ == "__main__": + from Tkinter import * main() |