Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a52ed7e

Browse filesBrowse 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 <111999343+Sachaa-Thanasius@users.noreply.github.com>
1 parent cbf064b commit a52ed7e
Copy full SHA for a52ed7e

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Lib/_pyrepl/pager.py

Copy file name to clipboardExpand all lines: Lib/_pyrepl/pager.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.