summaryrefslogtreecommitdiff
path: root/Lib/idlelib/ToolTip.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-05-25 18:44:05 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2014-05-25 18:44:05 -0400
commita2fc99eceae7b3dacc1e7280cc01c3b877ce55ab (patch)
treec6593cf545a51196117abd00623081007bf2ce67 /Lib/idlelib/ToolTip.py
parente1d54e5f8e63cf8a464a1c4c3d42e4f3a107b83f (diff)
downloadcpython-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.py5
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__':