https://github.com/python/cpython/commit/040571f258d13a807f5c8e4ce0a182d5f9a2e81b
commit: 040571f258d13a807f5c8e4ce0a182d5f9a2e81b
branch: main
author: denballakh <[email protected]>
committer: ambv <[email protected]>
date: 2024-05-06T22:56:28Z
summary:
fix typo in `_pyrepl.pager`: `plainpager` -> `plain_pager` (#118675)
files:
M Lib/_pyrepl/pager.py
diff --git a/Lib/_pyrepl/pager.py b/Lib/_pyrepl/pager.py
index ecf5ddc79a5efa..af0409c4523bc2 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]