summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-20 15:10:40 (GMT)
committerGitHub <noreply@github.com>2024-05-20 15:10:40 (GMT)
commita52ed7e6d9c09e1e22bea50b7cf83eb2a7d165c5 (patch)
tree20572641aa908cd6e2ac1580b99a0782c49414f4 /Lib
parentcbf064b0968119c972cfe24605bcc209836fca1c (diff)
downloadcpython-a52ed7e6d9c09e1e22bea50b7cf83eb2a7d165c5.zip
cpython-a52ed7e6d9c09e1e22bea50b7cf83eb2a7d165c5.tar.gz
cpython-a52ed7e6d9c09e1e22bea50b7cf83eb2a7d165c5.tar.bz2
[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 <111999343+Sachaa-Thanasius@users.noreply.github.com>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/_pyrepl/pager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_pyrepl/pager.py b/Lib/_pyrepl/pager.py
index af0409c..1c8c1bb 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)