mirror of https://github.com/python/cpython
fix typo in `_pyrepl.pager`: `plainpager` -> `plain_pager` (#118675)
This commit is contained in:
parent
5a9eeafa05
commit
040571f258
|
@ -23,7 +23,7 @@ def get_pager() -> Pager:
|
||||||
if not sys.stdin.isatty() or not sys.stdout.isatty():
|
if not sys.stdin.isatty() or not sys.stdout.isatty():
|
||||||
return plain_pager
|
return plain_pager
|
||||||
if sys.platform == "emscripten":
|
if sys.platform == "emscripten":
|
||||||
return plainpager
|
return plain_pager
|
||||||
use_pager = os.environ.get('MANPAGER') or os.environ.get('PAGER')
|
use_pager = os.environ.get('MANPAGER') or os.environ.get('PAGER')
|
||||||
if use_pager:
|
if use_pager:
|
||||||
if sys.platform == 'win32': # pipes completely broken in Windows
|
if sys.platform == 'win32': # pipes completely broken in Windows
|
||||||
|
|
Loading…
Reference in New Issue