Simple slicing question

Stephane SOPPERA soppers3 at cti.ecp.fr
Mon Jan 14 07:46:37 EST 2002


> Why doesn't a[100:200] result in an IndexError?

Because that's the way the language has been designed.

There's no error in overrange index slices.

--
Stephane SOPPERA
http://stephane.soppera.free.fr






More information about the Python-list mailing list