]> granicus.if.org Git - python/commitdiff
#5580: no need to use parentheses when converterr() argument is actually a type descr...
authorGeorg Brandl <georg@python.org>
Sun, 5 Apr 2009 11:54:07 +0000 (11:54 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 5 Apr 2009 11:54:07 +0000 (11:54 +0000)
Python/getargs.c

index 544948b928510c605e1fe37298990fb442d010f2..d24857d29cccd033c0769374addf48a70e6c71c8 100644 (file)
@@ -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);