summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2020-01-22 13:54:22 +0500
committerSergey Fedoseev <fedoseev.sergey@gmail.com>2020-01-22 14:25:32 +0500
commita9058911599d5b22672eecf5a24482ae0fa0fe03 (patch)
tree17298eefc3928db56a350156d8aa75aa9efa6adb
parent0b013564ef0609d95b1d263626f2e15bccda1a50 (diff)
Removed unneeded int() call in GEOSCoordSeq.__len__().
-rw-r--r--django/contrib/gis/geos/coordseq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/geos/coordseq.py b/django/contrib/gis/geos/coordseq.py
index 0a71a2be4a..d6a7c6cdc7 100644
--- a/django/contrib/gis/geos/coordseq.py
+++ b/django/contrib/gis/geos/coordseq.py
@@ -31,7 +31,7 @@ class GEOSCoordSeq(GEOSBase):
def __len__(self):
"Return the number of points in the coordinate sequence."
- return int(self.size)
+ return self.size
def __str__(self):
"Return the string representation of the coordinate sequence."