From: Guido van Rossum Date: Sat, 14 Jul 2001 17:58:00 +0000 (+0000) Subject: _Py_GetObjects(): GCC suggests to add () around && within || for some X-Git-Tag: v2.2a3~1163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c29602d740937cc96318031737dc3f0df59998d;p=python _Py_GetObjects(): GCC suggests to add () around && within || for some code only compiled in debug mode, and I dutifully comply. --- diff --git a/Objects/object.c b/Objects/object.c index 680a7d4901..3349078657 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1410,7 +1410,7 @@ _Py_GetObjects(PyObject *self, PyObject *args) return NULL; for (i = 0; (n == 0 || i < n) && op != &refchain; i++) { while (op == self || op == args || op == res || op == t || - t != NULL && op->ob_type != (PyTypeObject *) t) { + (t != NULL && op->ob_type != (PyTypeObject *) t)) { op = op->_ob_next; if (op == &refchain) return res;