summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2001-07-13 20:00:15 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2001-07-13 20:00:15 (GMT)
commit48b03144ec245f7105273f8caed304232fab0f37 (patch)
treed0e71a35a937591ea8f01d01d0ae1aa11df94726 /Lib/idlelib
parentbec5e5cb906b7a2c23bbaf582b3acec2c93b95be (diff)
downloadcpython-48b03144ec245f7105273f8caed304232fab0f37.zip
cpython-48b03144ec245f7105273f8caed304232fab0f37.tar.gz
cpython-48b03144ec245f7105273f8caed304232fab0f37.tar.bz2
py-cvs-rel2_1 (Rev 1.3)
"move "from Tkinter import *" to module level" --jhylton
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/Percolator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/Percolator.py b/Lib/idlelib/Percolator.py
index 9def5f4..5682111 100644
--- a/Lib/idlelib/Percolator.py
+++ b/Lib/idlelib/Percolator.py
@@ -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()