cpython: 820d21c97d66 (original) (raw)

Mercurial > cpython

changeset 102008:820d21c97d66

- Issue #8637: Honor a pager set by the env var MANPAGER (in preference to one set by the env var PAGER). [#8637]

doko@ubuntu.com
date Tue, 14 Jun 2016 08:39:31 +0200
parents a1ca9c0ebc05
children 264bf2551038
files Lib/pydoc.py Misc/NEWS
diffstat 2 files changed, 5 insertions(+), 1 deletions(-)[+] [-] Lib/pydoc.py 3 Misc/NEWS 3

line wrap: on

line diff

--- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1429,7 +1429,8 @@ def getpager(): return plainpager if not sys.stdin.isatty() or not sys.stdout.isatty(): return plainpager

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -10,6 +10,9 @@ What's New in Python 3.6.0 alpha 3 Library ------- +- Issue #8637: Honor a pager set by the env var MANPAGER (in preference to