mirror of https://github.com/python/cpython
Oops, forgot a pair of {}'s. (Greg Couch)
This commit is contained in:
parent
d358afeec0
commit
c38e7d4c4b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue