summaryrefslogtreecommitdiffstats
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-23 19:53:45 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-23 19:53:45 (GMT)
commitc38e7d4c4b4d53da5692100d69cec639853b25f0 (patch)
treedad53c3a2e3ac3e5d6d0ce4c56ab33906bb01302 /Python/modsupport.c
parentd358afeec003c2eebac3524c7343110ad8d744b3 (diff)
downloadcpython-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.c3
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