summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/abstract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index e0483a1..382b1fe 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);