-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Doc: Note that pydoc uses and prefers MANPAGER
#125362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
MANPAGER
Does this also hold true when using the old REPL? ( A |
@AA-Turner, it seems so. E.g. I can do:
|
The Also relevant : #83581 |
Thanks @mancellin for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
(cherry picked from commit 0e45b1f) Co-authored-by: Matthieu Ancellin <[email protected]> Co-authored-by: Adam Turner <[email protected]>
(cherry picked from commit 0e45b1f) Co-authored-by: Matthieu Ancellin <[email protected]> Co-authored-by: Adam Turner <[email protected]>
GH-126152 is a backport of this pull request to the 3.13 branch. |
GH-126153 is a backport of this pull request to the 3.12 branch. |
…#126152) Doc: Note that pydoc uses and prefers ``MANPAGER`` (GH-125362) (cherry picked from commit 0e45b1f) Co-authored-by: Matthieu Ancellin <[email protected]> Co-authored-by: Adam Turner <[email protected]>
…#126153) Doc: Note that pydoc uses and prefers ``MANPAGER`` (GH-125362) (cherry picked from commit 0e45b1f) Co-authored-by: Matthieu Ancellin <[email protected]> Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
It was a bit confusing to me that
help
would not follow my change ofPAGER
. The reason was that I had set alsoMANPAGER
.Cf. the implementation at
cpython/Lib/_pyrepl/pager.py
Line 27 in 9944ad3
📚 Documentation preview 📚: https://cpython-previews--125362.org.readthedocs.build/