[issue43451] pydoc terminal suboptimal rendering of complex annotations

2021-03-09 Thread David Wilson
Change by David Wilson : -- keywords: +patch pull_requests: +23570 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24802 ___ Python tracker ___ ___

[issue43451] pydoc terminal suboptimal rendering of complex annotations

2021-03-09 Thread David Wilson
New submission from David Wilson : When viewing docs for classes that use annotations, pydoc's rendering of argument lists is regularly truncated at the terminal edge (if using `less -S`), or wrapped in a manner where quickly scanning the output is next to impossible. My 'classic' example is