PySliceObject

A slice object containing start, stop, and step data members (the names are from range). After much talk with Guido, it was decided to let these be any arbitrary python type. Py_None stands for omitted values.

subclass of PyObject

extern (C)
struct PySliceObject {}

Members

Variables

start
PyObject* start;
step
PyObject* step;
stop
PyObject* stop;

not NULL

Meta