summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/ToolTip.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-05-27 06:47:38 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-05-27 06:47:38 (GMT)
commit985ef280545912b1a76d1980c27a33e0ee7eaf0a (patch)
treeeeaaaa1d96110340130d89095781a23d51042868 /Lib/idlelib/ToolTip.py
parent7e19b60daeb18c3295dd19ce53bb55328bc5cb3c (diff)
downloadcpython-985ef280545912b1a76d1980c27a33e0ee7eaf0a.zip
cpython-985ef280545912b1a76d1980c27a33e0ee7eaf0a.tar.gz
cpython-985ef280545912b1a76d1980c27a33e0ee7eaf0a.tar.bz2
Issue #21477: Idle htest: modify run; add more tests.
Patch by Saimadhav Heblikar. 2.7 backport of 90829, d7eea8f608c2.
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 3fb8694..11136c4 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__':