Slice inconsistency?
Michael Hudson
mwh at python.net
Fri Sep 26 17:43:08 EDT 2003
roberto at dealmeida.net (Roberto A. F. De Almeida) writes:
> I found that when using negative indices, the slice object passed to
> __getitem__ depends on the number of slices.
It's bit of a pest for me to check things right now, but: are you
using Python 2.3? Things *may* have changed here.
Cheers,
mwh
--
But since I'm not trying to impress anybody in The Software Big
Top, I'd rather walk the wire using a big pole, a safety harness,
a net, and with the wire not more than 3 feet off the ground.
-- Grant Griffin, comp.lang.python
More information about the Python-list
mailing list