org.python.core

Class PySlice

public class PySlice extends PyObject

A python slice object.
Field Summary
PyObjectstart
PyObjectstep
PyObjectstop
Constructor Summary
PySlice(PyObject start, PyObject stop, PyObject step)
Method Summary
booleanisSequenceType()
PyString__repr__()
PyString__str__()

Field Detail

start

public PyObject start

step

public PyObject step

stop

public PyObject stop

Constructor Detail

PySlice

public PySlice(PyObject start, PyObject stop, PyObject step)

Method Detail

isSequenceType

public boolean isSequenceType()

__repr__

public PyString __repr__()

__str__

public PyString __str__()
Jython homepage