summaryrefslogtreecommitdiff
path: root/Lib/idlelib/Percolator.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2001-07-13 20:00:15 +0000
committerKurt B. Kaiser <kbk@shore.net>2001-07-13 20:00:15 +0000
commit556258a96d9f3635936a0df9779b80973f37a412 (patch)
tree6be573c09e5973aa55cc9481d485fb90a7b0ef23 /Lib/idlelib/Percolator.py
parentfc32b362e5967cde9f531be44570c719aac398e3 (diff)
downloadcpython-556258a96d9f3635936a0df9779b80973f37a412.tar.gz
py-cvs-rel2_1 (Rev 1.3)
"move "from Tkinter import *" to module level" --jhylton
Diffstat (limited to 'Lib/idlelib/Percolator.py')
-rw-r--r--Lib/idlelib/Percolator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/Percolator.py b/Lib/idlelib/Percolator.py
index 9def5f4bce..5682111137 100644
--- a/Lib/idlelib/Percolator.py
+++ b/Lib/idlelib/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()