@property
    def num_interior_rings(self):
        # Getting the number of rings
        return capi.get_nrings(self.ptr)
Returns the number of interior rings.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/geos/polygon.py/Polygon.num_interior_rings