code: def _iterContours(self, **kwargs):
          
          count = len(self)
          index = 0
          while count:
              yield self[index]
              count -= 1
              index += 1
docs: This must return an iterator that returns wrapped contours.
  
          Subclasses may override this method.