summaryrefslogtreecommitdiffstats
path: root/Lib/getpass.py
diff options
context:
space:
mode:
authorJürgen Gmach <juergen.gmach@googlemail.com>2021-05-04 06:48:29 (GMT)
committerGitHub <noreply@github.com>2021-05-04 06:48:29 (GMT)
commitd4222ea6b0bb3cf7d40f23b370dc9eea5f9b7004 (patch)
treefc85d972af5d53f472e24a46df4371e0b3bdc42f /Lib/getpass.py
parent6fee0835cb00677acd341751f831ca1af128f4c9 (diff)
downloadcpython-d4222ea6b0bb3cf7d40f23b370dc9eea5f9b7004.zip
cpython-d4222ea6b0bb3cf7d40f23b370dc9eea5f9b7004.tar.gz
cpython-d4222ea6b0bb3cf7d40f23b370dc9eea5f9b7004.tar.bz2
update docstring for `win_getpass` to reflect code changes (GH-24967)
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
Diffstat (limited to 'Lib/getpass.py')
-rw-r--r--Lib/getpass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/getpass.py b/Lib/getpass.py
index 6911f41..6970d8a 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)