summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-11-20 07:22:29 (GMT)
committerGitHub <noreply@github.com>2020-11-20 07:22:29 (GMT)
commitc076d488059c96e97936f4d669e32aea0994886f (patch)
tree5a1458c83d36047acd3f15464e77668839e43b1c /Misc/NEWS.d
parent5f463e501b9667d1059a1e916d59d19cdd6addf7 (diff)
downloadcpython-c076d488059c96e97936f4d669e32aea0994886f.zip
cpython-c076d488059c96e97936f4d669e32aea0994886f.tar.gz
cpython-c076d488059c96e97936f4d669e32aea0994886f.tar.bz2
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>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/IDLE/2020-11-20-01-30-27.bpo-42415.CyD-va.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/IDLE/2020-11-20-01-30-27.bpo-42415.CyD-va.rst b/Misc/NEWS.d/next/IDLE/2020-11-20-01-30-27.bpo-42415.CyD-va.rst
new file mode 100644
index 0000000..b61032c
--- /dev/null
+++ b/Misc/NEWS.d/next/IDLE/2020-11-20-01-30-27.bpo-42415.CyD-va.rst
@@ -0,0 +1 @@
+Get docstrings for IDLE calltips more often by using inspect.getdoc.