def _listarr(self, func):
        return [func(self.ptr, i) for i in range(len(self))]
Special setattr to prevent changing of key values.
dataset/ETHPy150Open django/django/django/contrib/gis/gdal/geometries.py/LineString._listarr--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/enterprise/row.py/RowObject.__setattr__