]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
py-cvs-rel2_1 (Rev 1.4) merge - move "import *" to module level
authorKurt B. Kaiser <kbk@shore.net>
Fri, 13 Jul 2001 04:18:32 +0000 (04:18 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Fri, 13 Jul 2001 04:18:32 +0000 (04:18 +0000)
Lib/idlelib/IOBinding.py

index 07b04f3bcf2dfc4bdf8b77a31b7038501ebd9530..4875d111a775e7792ff815bfb0dedbd3a06947c6 100644 (file)
@@ -222,7 +222,6 @@ class IOBinding:
 
 
 def test():
-    from Tkinter import *
     root = Tk()
     class MyEditWin:
         def __init__(self, text):
@@ -251,4 +250,5 @@ def test():
     root.mainloop()
 
 if __name__ == "__main__":
+    from Tkinter import *
     test()