summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-09-30 22:00:50 (GMT)
committerGuido van Rossum <guido@python.org>1996-09-30 22:00:50 (GMT)
commit336c699236ab04e8b441b2fcf382c382e3d95631 (patch)
treef8de50d72da11b2df8d8986f9ac63d5850236a7f
parentdfd9cb1e121ea74aefea81ac18ed4fe09d1243df (diff)
downloadcpython-336c699236ab04e8b441b2fcf382c382e3d95631.zip
cpython-336c699236ab04e8b441b2fcf382c382e3d95631.tar.gz
cpython-336c699236ab04e8b441b2fcf382c382e3d95631.tar.bz2
Fix subtle bug detected by Jim F.
-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);