• Louie Lu's avatar
    bpo-19903: IDLE: Calltips changed to use inspect.signature (#2822) · 3b0f620c
    Louie Lu 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.
    3b0f620c
test_calltips.py 7.57 KB