[Python-ideas] [Python-Dev] Inclusive Range

Antoon Pardon Antoon.Pardon at rece.vub.ac.be
Wed Oct 13 11:41:57 CEST 2010


On Tue, Oct 12, 2010 at 01:50:47PM -0400, Terry Reedy wrote:

> >That seems to be an undocumented feature. I didn't know it was possible
> >to use extra parameters after key in __getitem__.
> 
> They never get passed, and as I said above, should not have been
> there in the version I posted. Sorry for the noise. The actual point
> is that keys can be tuples and tuples can contain a slice and other
> info.

All right, I understand where your going with this.

-- 
Antoon Pardon



More information about the Python-list mailing list