def close_rings(self):
        # Closing the open rings.
        capi.geom_close_rings(self.ptr)
If there are any rings within this geometry that have not been
dataset/ETHPy150Open django/django/django/contrib/gis/gdal/geometries.py/OGRGeometry.close_rings