|
|
|
|
|
by gridlockd
2284 days ago
|
|
It probably is because you studied mathematics. If you think of "all" as "in this set, no element exists which is False" then it is "obviously" the right behavior. However, consider this more practical example: x = {1,2,3}
y = {}
all(e in x for e in y)
> True
This doesn't strike me as obviously right. |
|