[Python-ideas] Add dict.getkey() and set.get()

Serhiy Storchaka storchaka at gmail.com
Sat Sep 14 21:48:21 CEST 2013

14.09.13 21:03, Terry Reedy написав(ла):
> If sets had get() as you described, there would be no need for
> dict.getkey as long as the set-like key view had get(). This would be
> the appropriate place since get() has nothing to do with the values but
> only the set of keys.


More information about the Python-ideas mailing list