[Patches] [ python-Patches-1315161 ] ToolTip.py: fix main() function

SourceForge.net noreply at sourceforge.net
Thu Oct 6 19:14:50 CEST 2005


Patches item #1315161, was opened at 2005-10-06 19:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1315161&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: sebastien blanchet (blanchet_38)
Assigned to: Nobody/Anonymous (nobody)
Summary: ToolTip.py: fix main() function

Initial Comment:
The main() function of ToolTip did not work:

1- root.mainloop() was commented, so the example code
did not work
2- main() was invoked each time the module was imported
because the test "if __name__ == "__main__":" was missing


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1315161&group_id=5470


More information about the Patches mailing list