class_docstr: This class implements an iterator object that can be used to loop
  over an image sequence.
  
  You can use the ``[]`` operator to access elements by index. This operator
  will raise an :py:exc:`IndexError` if you try to access a nonexistent
  frame.
  
  :param im: An image object.
class_docstr_tok: ["This","class","implements","an","iterator","object","that","can","be","used","to","loop","over","an","image","sequence",".","You","can","use","the","``","[","]","``","operator","to","access","elements","by","index",".","This","operator","will","raise","an",":","py",":","exc",":","`","IndexError","`","if","you","try","to","access","a","nonexistent","frame",".",":","param","im",":","An","image","object","."]
code: def __next__(self):
      try:
          self.im.seek(self.position)
          self.position += 1
          return self.im
      except EOFError as e:
          raise StopIteration from e
  
label_desc: Use image node_id 4 for calling the Iterator obj's underlying member method code with example usage: obj.__next__() and returns: self