Commit 48b03144 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

py-cvs-rel2_1 (Rev 1.3)

"move "from Tkinter import *" to module level" --jhylton
parent bec5e5cb
......@@ -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()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment