This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ToolTip.py: fix main() function
Type: Stage:
Components: IDLE Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: kbk Nosy List: blanchet_38, kbk
Priority: normal Keywords: patch

Created on 2005-10-06 17:14 by blanchet_38, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch.ToolTip.py blanchet_38, 2005-10-06 17:14 patch main() in idlelib/ToolTip.py
Messages (2)
msg48844 - (view) Author: sebastien blanchet (blanchet_38) Date: 2005-10-06 17:14
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
msg48845 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2005-11-23 15:13
Logged In: YES 
user_id=149084

r 41526
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42456
2005-10-06 17:14:49blanchet_38create