I have been spoiled by chained comparisons in python

This commit is contained in:
Benjamin Peterson 2011-08-02 18:34:30 -05:00
parent 9b374bfa03
commit 8f7bdd3208
1 changed files with 1 additions and 1 deletions

View File

@ -4952,7 +4952,7 @@ cpu_set_richcompare(Py_cpu_set *set, Py_cpu_set *other, int op)
Py_INCREF(Py_NotImplemented); \
return Py_NotImplemented; \
} \
assert(left->size == right->size == res->size); \
assert(left->size == right->size && right->size == res->size); \
op(res->size, res->set, left->set, right->set); \
return (PyObject *)res; \
} \