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

SourceForge.net noreply at sourceforge.net
Wed Nov 23 16:13:15 CET 2005


Patches item #1315161, was opened at 2005-10-06 13:14
Message generated for change (Comment added) made by kbk
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: Closed
>Resolution: Accepted
Priority: 5
Submitted By: sebastien blanchet (blanchet_38)
>Assigned to: Kurt B. Kaiser (kbk)
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


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

>Comment By: Kurt B. Kaiser (kbk)
Date: 2005-11-23 10:13

Message:
Logged In: YES 
user_id=149084

r 41526

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

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