Skip to content

Commit a52ed7e

Browse files
[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 05e1dce) Co-authored-by: Thanos <[email protected]>
1 parent cbf064b commit a52ed7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pyrepl/pager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def get_pager() -> Pager:
3535
if os.environ.get('TERM') in ('dumb', 'emacs'):
3636
return plain_pager
3737
if sys.platform == 'win32':
38-
return lambda text, title='': tempfilepager(plain(text), 'more <')
38+
return lambda text, title='': tempfile_pager(plain(text), 'more <')
3939
if hasattr(os, 'system') and os.system('(less) 2>/dev/null') == 0:
4040
return lambda text, title='': pipe_pager(text, 'less', title)
4141

0 commit comments

Comments
 (0)