Get item from set

Peter Otten __peter__ at web.de
Wed Apr 29 03:20:11 EDT 2009


Aahz wrote:

> In article <gt1kb7$jqg$03$1 at news.t-online.com>,
> Peter Otten  <__peter__ at web.de> wrote:
>>
>>Here's a trick to find the actual element. I think Raymond Hettinger
>>posted an implementation of this idea recently, but I can't find it at the
>>moment.
> 
> Your code is inverted from Raymond's:

I can't see the inversion.
 
> http://code.activestate.com/recipes/499299/

Thanks for providing the reference.

Peter




More information about the Python-list mailing list