diff options
author | Guido van Rossum <guido@python.org> | 1996-09-30 22:00:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-09-30 22:00:50 (GMT) |
commit | 336c699236ab04e8b441b2fcf382c382e3d95631 (patch) | |
tree | f8de50d72da11b2df8d8986f9ac63d5850236a7f /Objects | |
parent | dfd9cb1e121ea74aefea81ac18ed4fe09d1243df (diff) | |
download | cpython-336c699236ab04e8b441b2fcf382c382e3d95631.zip cpython-336c699236ab04e8b441b2fcf382c382e3d95631.tar.gz cpython-336c699236ab04e8b441b2fcf382c382e3d95631.tar.bz2 |
Fix subtle bug detected by Jim F.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/abstract.c | 2 |
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); |