mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix subtle bug detected by Jim F.
This commit is contained in:
parent
dfd9cb1e12
commit
336c699236
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue