diff options
author | Guido van Rossum <guido@python.org> | 2001-07-14 17:58:00 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-07-14 17:58:00 (GMT) |
commit | 3c29602d740937cc96318031737dc3f0df59998d (patch) | |
tree | dd9e310a4e6a3c157dcbd428b0357885a60dea73 /Objects | |
parent | 0765976cc4c488cb8968a01145db59bfd2968c06 (diff) | |
download | cpython-3c29602d740937cc96318031737dc3f0df59998d.zip cpython-3c29602d740937cc96318031737dc3f0df59998d.tar.gz cpython-3c29602d740937cc96318031737dc3f0df59998d.tar.bz2 |
_Py_GetObjects(): GCC suggests to add () around && within || for some
code only compiled in debug mode, and I dutifully comply.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index 680a7d4..3349078 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; |