mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Oops, forgot a pair of {}'s. (Greg Couch)
This commit is contained in:
parent
d358afeec0
commit
c38e7d4c4b
1 changed files with 2 additions and 1 deletions
|
|
@ -345,9 +345,10 @@ do_mkvalue(p_format, p_va)
|
||||||
else {
|
else {
|
||||||
PyObject *v;
|
PyObject *v;
|
||||||
v = va_arg(*p_va, PyObject *);
|
v = va_arg(*p_va, PyObject *);
|
||||||
if (v != NULL)
|
if (v != NULL) {
|
||||||
if (*(*p_format - 1) != 'N')
|
if (*(*p_format - 1) != 'N')
|
||||||
Py_INCREF(v);
|
Py_INCREF(v);
|
||||||
|
}
|
||||||
else if (!PyErr_Occurred())
|
else if (!PyErr_Occurred())
|
||||||
/* If a NULL was passed
|
/* If a NULL was passed
|
||||||
* because a call that should
|
* because a call that should
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue