Home | Trees | Indices | Help |
|
---|
|
object --+ | slice
slice([start,] stop[, step])
Create a slice object. This is used for extended slicing (e.g. a[0:10:2]).
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
start | |||
step | |||
stop | |||
|
x.__getattribute__('name') <==> x.name
|
hash(x)
|
|
repr(x)
|
Assuming a sequence of length len, calculate the start and stop indices, and the stride length of the extended slice described by S. Out of bounds indices are clipped in a manner consistent with the handling of normal slices.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed May 16 22:47:32 2007 | http://epydoc.sourceforge.net |