Mercurial > cpython-lru_cache-weakref
diff Python/modsupport.c @ 9722:3955f787e9a1 legacy-trunk
Oops, forgot a pair of {}'s. (Greg Couch)
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 23 Dec 1998 19:53:45 +0000 |
| parents | 24ca64134594 |
| children | 98e37347378b |
line wrap: on
line diff
--- a/Python/modsupport.c Wed Dec 23 05:02:08 1998 +0000 +++ b/Python/modsupport.c Wed Dec 23 19:53:45 1998 +0000 @@ -345,9 +345,10 @@ 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
