def __iter__(self):
        for i in range(self.geom_count):
            yield self[i]
Iterates through each ring in the Polygon.
dataset/ETHPy150Open django/django/django/contrib/gis/gdal/geometries.py/Polygon.__iter__