mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
fix typo in _pyrepl.pager
: plainpager
-> plain_pager
(#118675)
This commit is contained in:
parent
5a9eeafa05
commit
040571f258
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ def get_pager() -> Pager:
|
|||
if not sys.stdin.isatty() or not sys.stdout.isatty():
|
||||
return plain_pager
|
||||
if sys.platform == "emscripten":
|
||||
return plainpager
|
||||
return plain_pager
|
||||
use_pager = os.environ.get('MANPAGER') or os.environ.get('PAGER')
|
||||
if use_pager:
|
||||
if sys.platform == 'win32': # pipes completely broken in Windows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue