Aahz wrote: > In article <gt1kb7$jqg$0...@news.t-online.com>, > Peter Otten <__pete...@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 -- http://mail.python.org/mailman/listinfo/python-list