Kaydet (Commit) 336c6992 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix subtle bug detected by Jim F.

üst dfd9cb1e
......@@ -1032,7 +1032,7 @@ PyObject_CallMethod(va_alist) va_dcl
return 0;
}
if(format)
if(format && *format)
args = Py_VaBuildValue(format, va);
else
args = PyTuple_New(0);
......
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