diff options
| author | Benjamin Peterson <benjamin@python.org> | 2015-10-29 06:15:22 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2015-10-29 06:15:22 (GMT) |
| commit | 860c8a404ae540e5db076b2ca9b0605c30728dd9 (patch) | |
| tree | 26bcb263587ef6c36b05077efb59ef6dfcdeb56a /Lib/getpass.py | |
| parent | 2e0e18ba57ba4d8eb438734e2dc57bce0071f471 (diff) | |
| parent | 669ff66c326a0e5e0bed0619b691725f76ac3d04 (diff) | |
| download | cpython-860c8a404ae540e5db076b2ca9b0605c30728dd9.zip cpython-860c8a404ae540e5db076b2ca9b0605c30728dd9.tar.gz cpython-860c8a404ae540e5db076b2ca9b0605c30728dd9.tar.bz2 | |
merge 3.5 (#25502)
Diffstat (limited to 'Lib/getpass.py')
| -rw-r--r-- | Lib/getpass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/getpass.py b/Lib/getpass.py index 7c4e976..be51121 100644 --- a/Lib/getpass.py +++ b/Lib/getpass.py @@ -99,7 +99,7 @@ def win_getpass(prompt='Password: ', stream=None): """Prompt for password with echo off, using Windows getch().""" if sys.stdin is not sys.__stdin__: return fallback_getpass(prompt, stream) - import msvcrt + for c in prompt: msvcrt.putwch(c) pw = "" |
