From 040571f258d13a807f5c8e4ce0a182d5f9a2e81b Mon Sep 17 00:00:00 2001 From: denballakh <47365157+denballakh@users.noreply.github.com> Date: Tue, 7 May 2024 01:56:28 +0300 Subject: fix typo in `_pyrepl.pager`: `plainpager` -> `plain_pager` (#118675) --- Lib/_pyrepl/pager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/_pyrepl/pager.py b/Lib/_pyrepl/pager.py index ecf5ddc..af0409c 100644 --- a/Lib/_pyrepl/pager.py +++ b/Lib/_pyrepl/pager.py @@ -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 -- cgit v0.12