diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2005-11-23 15:12:19 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2005-11-23 15:12:19 (GMT) |
commit | 9df23ea1fc7cc9325b03c9a4beb7f4852687378f (patch) | |
tree | 501319bbefa536d69b16b685415df32546ba270f /Lib/idlelib | |
parent | ad07ff2c77699c49b99140c0e1f36bfcdc9b2e17 (diff) | |
download | cpython-9df23ea1fc7cc9325b03c9a4beb7f4852687378f.zip cpython-9df23ea1fc7cc9325b03c9a4beb7f4852687378f.tar.gz cpython-9df23ea1fc7cc9325b03c9a4beb7f4852687378f.tar.bz2 |
Fix main() call
Patch 1315161 sebastien blanchet
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/ToolTip.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/ToolTip.py b/Lib/idlelib/ToolTip.py index a403804..ce7a3d3 100644 --- a/Lib/idlelib/ToolTip.py +++ b/Lib/idlelib/ToolTip.py @@ -83,7 +83,7 @@ def main(): b.pack() root.update() tip = ListboxToolTip(b, ["Hello", "world"]) + root.mainloop() - # root.mainloop() # not in idle - -main() +if __name__ == '__main__': + main() |