diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2017-08-10 04:46:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-10 04:46:29 (GMT) |
commit | 646f6c3096abfe5bde13f039ebf32bce5baf083a (patch) | |
tree | 96f8f1c13357638c6bcda0b43dd8967a4025798b /Lib/test/test_tempfile.py | |
parent | 4388b4257abf3b9c348cf4db8c6144dcc07f3e98 (diff) | |
download | cpython-646f6c3096abfe5bde13f039ebf32bce5baf083a.zip cpython-646f6c3096abfe5bde13f039ebf32bce5baf083a.tar.gz cpython-646f6c3096abfe5bde13f039ebf32bce5baf083a.tar.bz2 |
[3.6] bpo-19903: IDLE: Calltips changed to use inspect.signature (GH-2822) (#3053)
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 3b0f620c1a2a21272a9e2aeca6ca1d1ac10f8162)
Diffstat (limited to 'Lib/test/test_tempfile.py')
0 files changed, 0 insertions, 0 deletions