commit | 3b0f620c1a2a21272a9e2aeca6ca1d1ac10f8162 | [log] [tgz] |
---|---|---|
author | Louie Lu <git@louie.lu> | Thu Aug 10 08:58:13 2017 +0800 |
committer | Terry Jan Reedy <tjreedy@udel.edu> | Wed Aug 09 20:58:13 2017 -0400 |
tree | ed0b81d4643ce3f589307b23fefe70052f2d629f | |
parent | 3ca9f50f96cfa5c1b7aa56639042531b57f07fbb [diff] |
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.