You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there's a couple of things we could do in CPython's implementation of help() if PEP 727 is accepted (which at this point, doesn't look terribly likely):
Run inspect.cleandoc on the Doc strings, to get rid of the excessive whitespace and newlines
Format the signature so that every parameter ends up on its own line
Parse out Doc() instances and format them specially
However, I don't think there's much we can do in typing-extensions.
Agreed that there's nothing here that's actionable for typing_extensions. Let's continue discussion on the CPython issue; improving the output of help() for functions with long signatures sounds like a great idea!
The above is how
pydoc3 fastapi.FastAPI
looks in my terminal. Do you have any idea how this could become more readable?The text was updated successfully, but these errors were encountered: