Kaydet (Commit) 6c59e725 authored tarafından Georg Brandl's avatar Georg Brandl

#5580: no need to use parentheses when converterr() argument is actually a type description.

üst d3eaa745
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment