Kaydet (Commit) 3c29602d authored tarafından Guido van Rossum's avatar Guido van Rossum

_Py_GetObjects(): GCC suggests to add () around && within || for some

code only compiled in debug mode, and I dutifully comply.
üst 0765976c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment