diff options
author | Guido van Rossum <guido@python.org> | 1998-04-10 22:16:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-10 22:16:39 (GMT) |
commit | 1109fbca76d08bb2f11f2899580d2ab7dbe796fa (patch) | |
tree | d52f999b597674ea5648059207a1eccaf173e141 /Objects/funcobject.c | |
parent | bb3649e2ba386adc16fadc2e0d1f2606c047e6aa (diff) | |
download | cpython-1109fbca76d08bb2f11f2899580d2ab7dbe796fa.zip cpython-1109fbca76d08bb2f11f2899580d2ab7dbe796fa.tar.gz cpython-1109fbca76d08bb2f11f2899580d2ab7dbe796fa.tar.bz2 |
Make new gcc -Wall happy
Diffstat (limited to 'Objects/funcobject.c')
-rw-r--r-- | Objects/funcobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/funcobject.c b/Objects/funcobject.c index be67259..d62dd08 100644 --- a/Objects/funcobject.c +++ b/Objects/funcobject.c @@ -110,8 +110,9 @@ PyFunction_SetDefaults(op, defaults) } if (defaults == Py_None) defaults = NULL; - else if (PyTuple_Check(defaults)) + else if (PyTuple_Check(defaults)) { Py_XINCREF(defaults); + } else { PyErr_SetString(PyExc_SystemError, "non-tuple default args"); return -1; |