mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
#5580: no need to use parentheses when converterr() argument is actually a type description.
This commit is contained in:
parent
d3eaa745a9
commit
6c59e72576
1 changed files with 1 additions and 1 deletions
|
@ -1108,7 +1108,7 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags,
|
||||||
!= size) {
|
!= size) {
|
||||||
Py_DECREF(s);
|
Py_DECREF(s);
|
||||||
return converterr(
|
return converterr(
|
||||||
"(encoded string without NULL bytes)",
|
"encoded string without NULL bytes",
|
||||||
arg, msgbuf, bufsize);
|
arg, msgbuf, bufsize);
|
||||||
}
|
}
|
||||||
*buffer = PyMem_NEW(char, size + 1);
|
*buffer = PyMem_NEW(char, size + 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue