Skip to content

Commit

Permalink
update docstring for win_getpass to reflect code changes (GH-24967)
Browse files Browse the repository at this point in the history
The code was updated in
0ec88b3
but the docstring was left untouched.

=> updated the docstring to reflect the code changes
  • Loading branch information
jugmac00 authored May 4, 2021
1 parent 6fee083 commit d4222ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/getpass.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def unix_getpass(prompt='Password: ', stream=None):


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

Expand Down

0 comments on commit d4222ea

Please sign in to comment.