Class PyGenerator

All Implemented Interfaces:
Serializable

public class PyGenerator extends PyIterator
See Also:
  • Field Details

    • gi_frame

      public PyFrame gi_frame
    • gi_running

      public boolean gi_running
  • Constructor Details

  • Method Details

    • __dir__

      public PyObject __dir__()
      Description copied from class: PyObject
      Equivalent to the standard Python __dir__ method.
      Overrides:
      __dir__ in class PyObject
      Returns:
      a list of names defined by this object.
    • __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