16 Oct
2018
16 Oct
'18
3:36 a.m.
[...] when one searches for a powerset function, the logical place to look isn't itertools, it's the set class. -- H
That's a rather object-oriented view, I think. So you look for the permutation function in the list class? I prefer these functions gathered in one place, and I find that itertools does the job. I do however agree that there could be a powerset function there for convenience, but only +0. - Pål GD