diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-05-25 18:44:05 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-05-25 18:44:05 -0400 |
commit | a2fc99eceae7b3dacc1e7280cc01c3b877ce55ab (patch) | |
tree | c6593cf545a51196117abd00623081007bf2ce67 /Lib/idlelib/ToolTip.py | |
parent | e1d54e5f8e63cf8a464a1c4c3d42e4f3a107b83f (diff) | |
download | cpython-git-a2fc99eceae7b3dacc1e7280cc01c3b877ce55ab.tar.gz |
Issue #21477: Idle htest: modify run; add more tests.
Patch by Saimadhav Heblikar. 2.7 version will follow.
Diffstat (limited to 'Lib/idlelib/ToolTip.py')
-rw-r--r-- | Lib/idlelib/ToolTip.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/ToolTip.py b/Lib/idlelib/ToolTip.py index e7bc81ee19..964107e117 100644 --- a/Lib/idlelib/ToolTip.py +++ b/Lib/idlelib/ToolTip.py @@ -87,8 +87,9 @@ def _tooltip(parent): button2 = Button(root, text="Button 2") button1.pack() button2.pack() - ToolTip(button1, "This is calltip text for button1.") - ListboxToolTip(button2, ["This is","calltip text","for button2"]) + ToolTip(button1, "This is tooltip text for button1.") + ListboxToolTip(button2, ["This is","multiple line", + "tooltip text","for button2"]) root.mainloop() if __name__ == '__main__': |