From 7ec94cdd1f98b19ea790c7b27f39234e6bf704cc Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 4 May 2021 00:10:32 -0700 Subject: [PATCH] update docstring for `win_getpass` to reflect code changes (GH-24967) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The code was updated in https://github.com/python/cpython/commit/0ec88b33d093db00ec68b220247681354a650f0c but the docstring was left untouched. => updated the docstring to reflect the code changes (cherry picked from commit d4222ea6b0bb3cf7d40f23b370dc9eea5f9b7004) Co-authored-by: Jürgen Gmach --- Lib/getpass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/getpass.py b/Lib/getpass.py index 6911f41d1f2..6970d8adfba 100644 --- a/Lib/getpass.py +++ b/Lib/getpass.py @@ -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)