• Terry Jan Reedy's avatar
    [3.6] bpo-19903: IDLE: Calltips changed to use inspect.signature (GH-2822) (#3053) · 646f6c30
    Terry Jan Reedy yazdı
    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 3b0f620c)
    646f6c30
test_calltips.py 7.48 KB