Class islice

    • Constructor Detail

      • islice

        public islice()
      • islice

        public islice​(PyType subType)
      • islice

        public islice​(PyObject iterable,
                      PyObject stopObj)
        See Also:
        startObj defaults to 0 and stepObj to 1
    • Method Detail

      • __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
      • next

        public PyObject next()
        Description copied from class: PyIterator
        The exposed next method. Note that exposed derivable subclasses of PyIterator should override next to call doNext(custom___iternext__), as __iternext__ is overridden by the Derived classes.
        Overrides:
        next in class PyIterator
        Returns:
        a PyObject result