Fix subtle bug detected by Jim F.

This commit is contained in:
Guido van Rossum 1996-09-30 22:00:50 +00:00
parent dfd9cb1e12
commit 336c699236
1 changed files with 1 additions and 1 deletions

View File

@ -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);