More user feedback on Sets.py

Francis Avila francisgavila at yahoo.com
Sun Nov 9 19:17:54 EST 2003


"David Eppstein" <eppstein at ics.uci.edu> wrote in message
news:eppstein-310496.15201409112003 at news.service.uci.edu...
> In article <eppstein-5A1CB4.15023909112003 at news.service.uci.edu>,
>  David Eppstein <eppstein at ics.uci.edu> wrote:
> I am a little concerned that "powerset" is not the right name, because
> its output is a sequence not a set, but can't think of a better.

isubsets()? There seems to be an emerging convention that 'i'-prefix
functions return a generator/iterator. Dictionaries use an 'iter' prefix,
though.

> --
> David Eppstein                      http://www.ics.uci.edu/~eppstein/
> Univ. of California, Irvine, School of Information & Computer Science





More information about the Python-list mailing list