def _listarr(self, func):
        return [func(self.ptr, i) for i in range(len(self))]
Internal routine that returns a sequence (list) corresponding with
dataset/ETHPy150Open django/django/django/contrib/gis/gdal/geometries.py/LineString._listarr