Skip to content

Commit cf0cc73

Browse files
bkjohpicnixz
andauthored
accept language suggestion from picnixz
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 7253600 commit cf0cc73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/getpass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def _check_echo_char(echo_char):
148148
if echo_char is None:
149149
return
150150
if not isinstance(echo_char, str):
151-
raise TypeError("'echo_char' must be type str or None, not "
151+
raise TypeError("'echo_char' must be a str or None, not "
152152
f"{type(echo_char).__name__}")
153153
if not (
154154
len(echo_char) == 1

0 commit comments

Comments
 (0)