From: Guido van Rossum Date: Mon, 30 Sep 1996 22:00:50 +0000 (+0000) Subject: Fix subtle bug detected by Jim F. X-Git-Tag: v1.4~161 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=336c699236ab04e8b441b2fcf382c382e3d95631;p=thirdparty%2FPython%2Fcpython.git Fix subtle bug detected by Jim F. --- diff --git a/Objects/abstract.c b/Objects/abstract.c index e0483a1b8381..382b1fe8a4e8 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -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);