Extended slicing
zzzzz
zzizz_ at notmail.com
Sat Apr 7 23:35:08 EDT 2001
Hi all,
Just looking at the Reference Manual Release 2.0 dated Oct 16, 2000 at
the section on 5.3.3 slicings. It appears to me that I should be able
to use an extended slice like follows:
x=range(20)
y=x[3:4,6:10]
However, when I try this on Python '2.0 (#8, Oct 19 2000, 11:30:05)
[MSC 32 bit (Intel)]' I get a traceback error "TypeError: sequence
index must be integer".
Is this feature implemented yet?
Have I misread the definition of slicing?
How do I know it's not implemented?
More information about the Python-list
mailing list