summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/Percolator.py
diff options
context:
space:
mode:
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 9def5f4..5682111 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()