update docstring for win_getpass to reflect code changes (GH-24967)

The code was updated in
0ec88b33d0
but the docstring was left untouched.

=> updated the docstring to reflect the code changes
(cherry picked from commit d4222ea6b0)

Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
This commit is contained in:
Miss Islington (bot) 2021-05-04 00:10:32 -07:00 committed by GitHub
parent e733e9951d
commit 7ec94cdd1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)