mirror of https://github.com/python/cpython
#5580: no need to use parentheses when converterr() argument is actually a type description.
This commit is contained in:
parent
d3eaa745a9
commit
6c59e72576
|
@ -1108,7 +1108,7 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags,
|
|||
!= size) {
|
||||
Py_DECREF(s);
|
||||
return converterr(
|
||||
"(encoded string without NULL bytes)",
|
||||
"encoded string without NULL bytes",
|
||||
arg, msgbuf, bufsize);
|
||||
}
|
||||
*buffer = PyMem_NEW(char, size + 1);
|
||||
|
|
Loading…
Reference in New Issue