mirror of https://github.com/django/django.git
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:
parent
ce834d0891
commit
8ab2ae4404
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue