Class PySlice

All Implemented Interfaces:
Serializable

public class PySlice extends PyObject
A python slice object.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • __str__

      public PyString __str__()
      Description copied from class: PyObject
      Equivalent to the standard Python __str__ method. This method should not typically need to be overridden. The easiest way to configure the string representation of a PyObject is to override the standard Java toString method.
      Overrides:
      __str__ in class PyObject
    • __repr__

      public PyString __repr__()
      Description copied from class: PyObject
      Equivalent to the standard Python __repr__ method. This method should not typically need to be overrriden. The easiest way to configure the string representation of a PyObject is to override the standard Java toString method.
      Overrides:
      __repr__ in class PyObject
    • isSequenceType

      public boolean isSequenceType()
      Overrides:
      isSequenceType in class PyObject