https://github.com/python/cpython/commit/a52ed7e6d9c09e1e22bea50b7cf83eb2a7d165c5
commit: a52ed7e6d9c09e1e22bea50b7cf83eb2a7d165c5
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: JelleZijlstra <[email protected]>
date: 2024-05-20T15:10:40Z
summary:

[3.13] gh-119185: Fix typo in `_pyrepl.pager`: `tempfilepager` should be 
`tempfile_pager` (GH-118881) (#119211)

Fix typo in `_pyrepl.pager`: `tempfilepager` should be `tempfile_pager`

The name with no underscore doesn't exist.
(cherry picked from commit 05e1dce76d7669e90ab73e7e682360d83b8a0d02)

Co-authored-by: Thanos <[email protected]>

files:
M Lib/_pyrepl/pager.py

diff --git a/Lib/_pyrepl/pager.py b/Lib/_pyrepl/pager.py
index af0409c4523bc2..1c8c1bb13925e3 100644
--- a/Lib/_pyrepl/pager.py
+++ b/Lib/_pyrepl/pager.py
@@ -35,7 +35,7 @@ def get_pager() -> Pager:
     if os.environ.get('TERM') in ('dumb', 'emacs'):
         return plain_pager
     if sys.platform == 'win32':
-        return lambda text, title='': tempfilepager(plain(text), 'more <')
+        return lambda text, title='': tempfile_pager(plain(text), 'more <')
     if hasattr(os, 'system') and os.system('(less) 2>/dev/null') == 0:
         return lambda text, title='': pipe_pager(text, 'less', title)
 

_______________________________________________
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]

Reply via email to