diff options
author | Louie Lu <git@louie.lu> | 2017-08-10 00:58:13 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2017-08-10 00:58:13 (GMT) |
commit | 3b0f620c1a2a21272a9e2aeca6ca1d1ac10f8162 (patch) | |
tree | ed0b81d4643ce3f589307b23fefe70052f2d629f /Python/pythonrun.c | |
parent | 3ca9f50f96cfa5c1b7aa56639042531b57f07fbb (diff) | |
download | cpython-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 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions