Oops, forgot a pair of {}'s. (Greg Couch)

This commit is contained in:
Guido van Rossum 1998-12-23 19:53:45 +00:00
parent d358afeec0
commit c38e7d4c4b
1 changed files with 2 additions and 1 deletions

View File

@ -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