]> 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:28:21 +0000 (23:28 -0800)
committerGitHub <noreply@github.com>
Fri, 20 Nov 2020 07:28:21 +0000 (23:28 -0800)
commit4dd2112a1d26e03b605bed0f89e3678041ad1490
tree7f599ae0ef174764be2dc3ce122be77c1e22afd8
parent1051ca4d974ebb6448f58b661aa28f8aff325ed3
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]