Skip to content

Conversation

@terryjreedy
Copy link
Member

@terryjreedy terryjreedy commented Aug 10, 2017

mlouielu 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)
@terryjreedy
Copy link
Member Author

The test part of the patch touched the one code line in idlelib where 3.6 and 3.7 differ, and created another conflict, so I had to resolve the merge conflict (see comment in diff) and test myself. If cherry_picker had run without conflict, I would have closed and re-open to get Appveyor to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants