[Python-Dev] Retrieve an arbitrary element from a set without removing it

Stefan Behnel stefan_ml at behnel.de
Fri Oct 23 21:01:23 CEST 2009


Willi Richert wrote:
> recently I wrote an algorithm, in which very often I had to get an arbitrary 
> element from a set without removing it.

See this discussion:

http://comments.gmane.org/gmane.comp.python.ideas/5606

Stefan



More information about the Python-Dev mailing list