[Python-ideas] Implement __add__ for set and frozenset

Raymond Hettinger python at rcn.com
Tue Jun 3 21:32:18 CEST 2008



>     A.difference(B, C, D)
> 
> could be rewritten as
> 
>     A - set.union(B, C, D)
> 
> which may be just as clear.


And grotesquely inefficient.



More information about the Python-ideas mailing list