]> granicus.if.org Git - python/commitdiff
Add parens suggested by gcc -Wall.
authorGuido van Rossum <guido@python.org>
Fri, 1 Sep 2000 02:39:00 +0000 (02:39 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 1 Sep 2000 02:39:00 +0000 (02:39 +0000)
Objects/abstract.c

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