Class PyXRangeIter

All Implemented Interfaces:
Serializable, Iterable<Object>, Traverseproc

public class PyXRangeIter extends PyIterator
Specially optimized xrange iterator.
See Also:
  • Field Details

    • TYPE

      public static final PyType TYPE
  • Constructor Details

    • PyXRangeIter

      public PyXRangeIter(long index, long start, long step, long len)
  • Method Details

    • __iternext__

      public PyObject __iternext__()
      Description copied from class: PyObject
      Return the next element of the sequence that this is an iterator for. Returns null when the end of the sequence is reached.
      Specified by:
      __iternext__ in class PyIterator