File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 199
199
('envvar' , 'LC_TIME' ),
200
200
('envvar' , 'LINES' ),
201
201
('envvar' , 'LOGNAME' ),
202
+ ('envvar' , 'MANPAGER' ),
202
203
('envvar' , 'PAGER' ),
203
204
('envvar' , 'PATH' ),
204
205
('envvar' , 'PATHEXT' ),
Original file line number Diff line number Diff line change @@ -52,8 +52,9 @@ produced for that file.
52
52
only execute code when a file is invoked as a script and not just imported.
53
53
54
54
When printing output to the console, :program: `pydoc ` attempts to paginate the
55
- output for easier reading. If the :envvar: `PAGER ` environment variable is set,
56
- :program: `pydoc ` will use its value as a pagination program.
55
+ output for easier reading. If either the :envvar: `MANPAGER ` or the
56
+ :envvar: `PAGER ` environment variable is set, :program: `pydoc ` will use its
57
+ value as a pagination program. When both are set, :envvar: `MANPAGER ` is used.
57
58
58
59
Specifying a ``-w `` flag before the argument will cause HTML documentation
59
60
to be written out to a file in the current directory, instead of displaying text
You can’t perform that action at this time.
0 commit comments