Raymond Hettinger <python <at> rcn.com> writes:
> 
> [Chris Bergstresser]
>   Still, I think my
> > point stands--it's a clear extrapolation from the existing dict.get().
> 
> Not really.  One looks-up a key and supplies a default value if not found.
> The other, set.get(), doesn't have a key to lookup.

set.getone() then ?



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to