move "from Tkinter import *" to module level

This commit is contained in:
Jeremy Hylton 2001-02-02 20:07:46 +00:00
parent d6b1cf9a55
commit 1eab0028e6
2 changed files with 2 additions and 2 deletions

View file

@ -200,7 +200,6 @@ class IOBinding:
def test():
from Tkinter import *
root = Tk()
class MyEditWin:
def __init__(self, text):
@ -229,4 +228,5 @@ def test():
root.mainloop()
if __name__ == "__main__":
from Tkinter import *
test()