David Morley wrote: > What would be wrong with: > > class Indexing: > def __init__(self, thing): > self.thing = thing > def __getitem__(self, index): > return (index, self.thing[index]) > > for (i,x) in Indexing(a): > ... you stopped reading tim's post when you got to the syntax proposal, right? Cheers /F