[Python-Dev] Getting values stored inside sets

Raymond Hettinger python at rcn.com
Fri Apr 3 19:14:10 CEST 2009


> Hrvoje Niksic wrote:
>> I've stumbled upon an oddity using sets.  It's trivial to test if a 
>> value is in the set, but it appears to be impossible to retrieve a 
>> stored value, 

See:  http://code.activestate.com/recipes/499299/


Raymond


More information about the Python-Dev mailing list