From: Kurt B. Kaiser Date: Fri, 13 Jul 2001 04:18:32 +0000 (+0000) Subject: py-cvs-rel2_1 (Rev 1.4) merge - move "import *" to module level X-Git-Tag: v2.2a3~1218 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7eea271464dccc48525cae2b677a68dd7f442c5d;p=thirdparty%2FPython%2Fcpython.git 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 07b04f3bcf2d..4875d111a775 100644 --- a/Lib/idlelib/IOBinding.py +++ b/Lib/idlelib/IOBinding.py @@ -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()