diff options
author | Guido van Rossum <guido@python.org> | 1998-12-23 19:53:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-23 19:53:45 (GMT) |
commit | c38e7d4c4b4d53da5692100d69cec639853b25f0 (patch) | |
tree | dad53c3a2e3ac3e5d6d0ce4c56ab33906bb01302 /Python/modsupport.c | |
parent | d358afeec003c2eebac3524c7343110ad8d744b3 (diff) | |
download | cpython-c38e7d4c4b4d53da5692100d69cec639853b25f0.zip cpython-c38e7d4c4b4d53da5692100d69cec639853b25f0.tar.gz cpython-c38e7d4c4b4d53da5692100d69cec639853b25f0.tar.bz2 |
Oops, forgot a pair of {}'s. (Greg Couch)
Diffstat (limited to 'Python/modsupport.c')
-rw-r--r-- | Python/modsupport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c index 56bde9e..9344f4d 100644 --- a/Python/modsupport.c +++ b/Python/modsupport.c @@ -345,9 +345,10 @@ do_mkvalue(p_format, p_va) else { PyObject *v; v = va_arg(*p_va, PyObject *); - if (v != NULL) + if (v != NULL) { if (*(*p_format - 1) != 'N') Py_INCREF(v); + } else if (!PyErr_Occurred()) /* If a NULL was passed * because a call that should |