summaryrefslogtreecommitdiff
path: root/django/contrib/gis
diff options
context:
space:
mode:
authorMike Edmunds <medmunds@gmail.com>2025-07-22 20:44:22 -0700
committernessita <124304+nessita@users.noreply.github.com>2025-07-23 20:17:55 -0300
commit78298b51629e14c0e472898b635bc819d47b7f27 (patch)
treefc3302ebacba36e9b06d12f90b557c9314b9be1f /django/contrib/gis
parent69a93a88edb56ba47f624dac7a21aacc47ea474f (diff)
Refs #36500 -- Corrected rewrapped long lines fixed via a script.
Manually reformatted some comments and docstrings where autofix_w505.py changed the meaning of the formatting.
Diffstat (limited to 'django/contrib/gis')
-rw-r--r--django/contrib/gis/geos/coordseq.py3
-rw-r--r--django/contrib/gis/geos/libgeos.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/django/contrib/gis/geos/coordseq.py b/django/contrib/gis/geos/coordseq.py
index e54f3f2714..dec3495d25 100644
--- a/django/contrib/gis/geos/coordseq.py
+++ b/django/contrib/gis/geos/coordseq.py
@@ -181,8 +181,7 @@ class GEOSCoordSeq(GEOSBase):
def kml(self):
"Return the KML representation for the coordinates."
# Getting the substitution string depending on whether the coordinates
- # have
- # a Z dimension.
+ # have a Z dimension.
if self.hasz:
substr = "%s,%s,%s "
else:
diff --git a/django/contrib/gis/geos/libgeos.py b/django/contrib/gis/geos/libgeos.py
index 99a4f2f94e..feb225cf8c 100644
--- a/django/contrib/gis/geos/libgeos.py
+++ b/django/contrib/gis/geos/libgeos.py
@@ -58,8 +58,7 @@ def load_geos():
# Getting the GEOS C library. The C interface (CDLL) is used for
# both *NIX and Windows.
# See the GEOS C API source code for more details on the library function
- # calls:
- # https://libgeos.org/doxygen/geos__c_8h_source.html
+ # calls: https://libgeos.org/doxygen/geos__c_8h_source.html
_lgeos = CDLL(lib_path)
# Here we set up the prototypes for the initGEOS_r and finishGEOS_r
# routines. These functions aren't actually called until they are