help(): Display complex signatures in multiple lines #112139
Labels
3.13
new features, bugs and security fixes
stdlib
Python modules in the Lib dir
type-feature
A feature request or enhancement
Feature or enhancement
Proposal:
Here's the help() output for a reasonably complex typed method (link):
It would be much easier to read if each parameter was on its own line, something like this:
help() should switch to this output format only for reasonably complex signatures, perhaps if the signature line would otherwise be >80 characters.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
inspect.Signature.format
and use it inpydoc
#112143The text was updated successfully, but these errors were encountered: