py-cvs-rel2_1 (Rev 1.4) merge - move "import *" to module level
diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py
index 07b04f3..4875d11 100644
--- a/Lib/idlelib/IOBinding.py
+++ b/Lib/idlelib/IOBinding.py
@@ -222,7 +222,6 @@
 
 
 def test():
-    from Tkinter import *
     root = Tk()
     class MyEditWin:
         def __init__(self, text):
@@ -251,4 +250,5 @@
     root.mainloop()
 
 if __name__ == "__main__":
+    from Tkinter import *
     test()