Removed unneeded index check in LineString._set_single() as index is already checked in __getitem__().

Unneeded since its introduction in 66e1670efa.
This commit is contained in:
Sergey Fedoseev 2017-07-13 21:41:00 +06:00 committed by Tim Graham
parent ce834d0891
commit 8ab2ae4404
1 changed files with 0 additions and 1 deletions

View File

@ -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):