Py2.3: Feedback on Sets (fwd)
Alex Martelli
aleaxit at yahoo.com
Mon Aug 18 11:43:23 EDT 2003
Raymond Hettinger wrote:
...
>> resulting iterator also has duplications. Changing the single
>> statement that is currently:
>> data = list(iterable)
>> into
>> data = Set(iterable)
>> would make duplications in 'iterable' irrelevant instead.
>
> Good call.
> Do you guys want the revised version added to the docs
> or perhaps saved as an ASPN recipe?
IMHO, the revised version would make most sense as a simple
example in the docs -- I don't think it would be equally
accessible to users if it went on the ASPN Cookbook, and it's
short enough that it doesn't seem to give problems in the docs.
Alex
More information about the Python-list
mailing list