[Tutor] __getslice__

Jose Amoreira amoreira@mercury.ubi.pt
Fri, 17 Nov 2000 15:56:58 +0000

I read in the official Python Reference Manual that in Python 2.0 the
__getslice__  and related methods are deprecated, and that one should
instead use the __getitem__ and related methods. I've been giving it a
try, but I don't seem to be able to get a slice of an user defined
sequence object, using the __getitem__ method, and I can't find any help
in the docs (or else I find it but i don't get it, sorry)...
Can anybody help?
Ze amoreira