Removed unneeded index check in LineString._set_single() as index is already checked in __getitem__().
Unneeded since its introduction in
@@ -122,7 +122,6 @@ class LineString(LinearGeometryMixin, GEOSGeometry):
raise GEOSException('Geometry resulting from slice deletion was invalid.')
def _set_single(self, index, value):
- self._checkindex(index)
self._cs[index] = value
def _checkdim(self, dim):
