Commit cadd5b6b authored by Thomas Wouters's avatar Thomas Wouters

Fix grouping, again. This time properly :-) Sorry, guys.

parent 3a9d0611
......@@ -813,12 +813,12 @@ 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)))
!= NULL)
|| (v->ob_type->tp_as_number != NULL &&
(f = v->ob_type->tp_as_number->nb_inplace_add) != NULL))
(f = v->ob_type->tp_as_number->nb_inplace_add) != NULL)))
return (*f)(v, w);
BINOP(v, w, "__add__", "__radd__", PyNumber_Add);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment