[issue35338] set union/intersection/difference could accept zero arguments
Rémi Lapeyre
report at bugs.python.org
Thu Nov 29 08:25:24 EST 2018
Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:
The intersection of an empty set of sets is either the empty set or the universe sets so if set.union() is defined to support set.union(*sequence), wouldn't it be less surprising for set.intersection() to return the empty set too?
----------
nosy: +remi.lapeyre
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35338>
_______________________________________
More information about the Python-bugs-list
mailing list