Class PyEnumerate

All Implemented Interfaces:
Serializable

public class PyEnumerate extends PyIterator
See Also:
  • Field Details

  • Constructor Details

    • PyEnumerate

      public PyEnumerate(PyObject seq)
  • Method Details

    • typeSetup

      public static void typeSetup(PyObject dict, PyType.Newstyle marker)
    • enumerate_next

      public PyObject enumerate_next()
    • enumerate___iter__

      public PyObject enumerate___iter__()
    • enumerate_new

      public static PyEnumerate enumerate_new(PyObject new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
    • __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