Skip to content

Commit 20380df

Browse files
update docstring for win_getpass to reflect code changes (GH-24967)
The code was updated in 0ec88b3 but the docstring was left untouched. => updated the docstring to reflect the code changes (cherry picked from commit d4222ea) Co-authored-by: Jürgen Gmach <[email protected]>
1 parent 2995bff commit 20380df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/getpass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def unix_getpass(prompt='Password: ', stream=None):
9595

9696

9797
def win_getpass(prompt='Password: ', stream=None):
98-
"""Prompt for password with echo off, using Windows getch()."""
98+
"""Prompt for password with echo off, using Windows getwch()."""
9999
if sys.stdin is not sys.__stdin__:
100100
return fallback_getpass(prompt, stream)
101101

0 commit comments

Comments
 (0)