]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests (GH-7683)
authorTal Einat <taleinat+github@gmail.com>
Sun, 5 Aug 2018 06:21:08 +0000 (09:21 +0300)
committerGitHub <noreply@github.com>
Sun, 5 Aug 2018 06:21:08 +0000 (09:21 +0300)
commit87e59ac11ee074b0dc1bc864c74fac0660b27f6e
tree997de582df11483d05e0d70c3e38a7ec6cf8d0fe
parent2e5566d9e774dcde81e8139b486730917816e045
bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests (GH-7683)

* make CallTip and ToolTip sub-classes of a common abstract base class
* remove ListboxToolTip (unused and ugly)
* greatly increase test coverage
* tested on Windows, Linux and macOS
Lib/idlelib/calltip.py
Lib/idlelib/calltip_w.py
Lib/idlelib/idle_test/htest.py
Lib/idlelib/idle_test/test_calltip_w.py
Lib/idlelib/idle_test/test_tooltip.py [new file with mode: 0644]
Lib/idlelib/tooltip.py
Misc/NEWS.d/next/IDLE/2018-06-14-13-23-55.bpo-33839.ZlJzHa.rst [new file with mode: 0644]