]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-65824: Improve the "less" prompt in pydoc (GH-116050)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 1 Mar 2024 08:03:32 +0000 (10:03 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2024 08:03:32 +0000 (10:03 +0200)
commit0704166f9a9c6028314d50b493670e7862c968b3
tree5e3f638dd9607622d89999174c6a740d841d6de2
parent7895a61168aad4565a1d953104c9ec620e7c588f
gh-65824: Improve the "less" prompt in pydoc (GH-116050)

Output the line number, the percentage and the help about how to get help
or quit the pager.

Inspired by the GNU man.
Lib/pydoc.py
Misc/NEWS.d/next/Library/2024-02-28-17-04-28.gh-issue-65824.gG8KR1.rst [new file with mode: 0644]