mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
bpo-34604: Use %R because of invisible characters or trailing whitespaces. (GH-9165)
This commit is contained in:
parent
25d389789c
commit
34c7f0c04e
3 changed files with 4 additions and 3 deletions
|
|
@ -257,7 +257,7 @@ pwd_getpwnam_impl(PyObject *module, PyObject *name)
|
|||
}
|
||||
else {
|
||||
PyErr_Format(PyExc_KeyError,
|
||||
"getpwnam(): name not found: %S", name);
|
||||
"getpwnam(): name not found: %R", name);
|
||||
}
|
||||
goto out;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue