]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42416: Use inspect.getdoc for IDLE calltips (GH-23416)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 20 Nov 2020 07:22:29 +0000 (23:22 -0800)
committerGitHub <noreply@github.com>
Fri, 20 Nov 2020 07:22:29 +0000 (23:22 -0800)
commitc076d488059c96e97936f4d669e32aea0994886f
tree5a1458c83d36047acd3f15464e77668839e43b1c
parent5f463e501b9667d1059a1e916d59d19cdd6addf7
bpo-42416: Use inspect.getdoc for IDLE calltips (GH-23416)

Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None.
(cherry picked from commit 7ddbaa7a1b3e61847ee99658be6a7268a049e302)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/NEWS.txt
Lib/idlelib/calltip.py
Lib/idlelib/idle_test/test_calltip.py
Misc/NEWS.d/next/IDLE/2020-11-20-01-30-27.bpo-42415.CyD-va.rst [new file with mode: 0644]