mirror of https://github.com/python/cpython
Add parens suggested by gcc -Wall.
This commit is contained in:
parent
c638791d53
commit
04127de434
|
@ -813,9 +813,10 @@ PyNumber_InPlaceAdd(PyObject *v, PyObject *w)
|
|||
PyNumber_Add, 0) <= 0)
|
||||
return x;
|
||||
}
|
||||
else if (HASINPLACE(v)
|
||||
else if ((HASINPLACE(v)
|
||||
&& ((v->ob_type->tp_as_sequence != NULL &&
|
||||
(f = v->ob_type->tp_as_sequence->sq_inplace_concat) != NULL))
|
||||
(f = v->ob_type->tp_as_sequence->sq_inplace_concat)
|
||||
!= NULL)))
|
||||
|| (v->ob_type->tp_as_number != NULL &&
|
||||
(f = v->ob_type->tp_as_number->nb_inplace_add) != NULL))
|
||||
return (*f)(v, w);
|
||||
|
|
Loading…
Reference in New Issue