]> granicus.if.org Git - python/commitdiff
Fix grouping, again. This time properly :-) Sorry, guys.
authorThomas Wouters <thomas@python.org>
Fri, 1 Sep 2000 07:53:25 +0000 (07:53 +0000)
committerThomas Wouters <thomas@python.org>
Fri, 1 Sep 2000 07:53:25 +0000 (07:53 +0000)
Objects/abstract.c

index abfaa5ecfd871f2a0f5f6b3b622f40aa9e1f095d..4e9ed96a60bbf4782d4397c22a0c4fa3027c0208 100644 (file)
@@ -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);