From a9058911599d5b22672eecf5a24482ae0fa0fe03 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Wed, 22 Jan 2020 13:54:22 +0500 Subject: [PATCH] Removed unneeded int() call in GEOSCoordSeq.__len__(). --- django/contrib/gis/geos/coordseq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."