summaryrefslogtreecommitdiffstats
path: root/Tools/gdb/libpython.py
diff options
context:
space:
mode:
authorLouie Lu <git@louie.lu>2017-08-10 00:58:13 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2017-08-10 00:58:13 (GMT)
commit3b0f620c1a2a21272a9e2aeca6ca1d1ac10f8162 (patch)
treeed0b81d4643ce3f589307b23fefe70052f2d629f /Tools/gdb/libpython.py
parent3ca9f50f96cfa5c1b7aa56639042531b57f07fbb (diff)
downloadcpython-3b0f620c1a2a21272a9e2aeca6ca1d1ac10f8162.zip
cpython-3b0f620c1a2a21272a9e2aeca6ca1d1ac10f8162.tar.gz
cpython-3b0f620c1a2a21272a9e2aeca6ca1d1ac10f8162.tar.bz2
bpo-19903: IDLE: Calltips changed to use inspect.signature (#2822)
Idlelib.calltips.get_argspec now uses inspect.signature instead of inspect.getfullargspec, like help() does. This improves the signature in the call tip in a few different cases, including builtins converted to provide a signature. A message is added if the object is not callable, has an invalid signature, or if it has positional-only parameters. Patch by Louie Lu.
Diffstat (limited to 'Tools/gdb/libpython.py')
0 files changed, 0 insertions, 0 deletions