◐ Shell
clean mode source ↗

[3.6] bpo-19903: IDLE: Calltips changed to use inspect.signature (GH-2822) by terryjreedy · Pull Request #3053 · python/cpython

and others added 2 commits

August 9, 2017 21:16
…honGH-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..
(cherry picked from commit 3b0f620)