Fix grouping: this is how I intended it, misguided as I was in boolean

operator associativity.
This commit is contained in:
Thomas Wouters 2000-08-31 07:02:19 +00:00
parent 501b926da9
commit 6b958f7d7b
1 changed files with 2 additions and 2 deletions

View File

@ -813,8 +813,8 @@ PyNumber_InPlaceAdd(PyObject *v, PyObject *w)
PyNumber_Add, 0) <= 0)
return x;
}
else if ((HASINPLACE(v)
&& (v->ob_type->tp_as_sequence != NULL &&
else if (HASINPLACE(v)
&& ((v->ob_type->tp_as_sequence != 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))