En Thu, 12 Apr 2007 01:23:08 -0300, Steven D'Aprano <[EMAIL PROTECTED]> escribió:
> On Thu, 12 Apr 2007 00:32:32 -0300, Gabriel Genellina wrote: > >> First I want to say that __getitem__ should raise IndexError, not >> KeyError, to indicate "not found" > > How do you know the Original Poster's class was meant to be a sequence > rather than a mapping? Ouch, no, sorry, disregard that comment. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list