From c5cc750b56e0ed396ca36be39e39505ed6ede4b1 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Wed, 4 May 2022 17:31:42 +0200 Subject: [PATCH] Corrected example in Polygon docstring. --- django/contrib/gis/geos/polygon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/gis/geos/polygon.py b/django/contrib/gis/geos/polygon.py index e384614b0b..a660adb8d4 100644 --- a/django/contrib/gis/geos/polygon.py +++ b/django/contrib/gis/geos/polygon.py @@ -21,7 +21,7 @@ class Polygon(GEOSGeometry): >>> poly = Polygon(shell, (hole1, hole2)) >>> # Example where a tuple parameters are used: - >>> poly = Polygon(((0, 0), (0, 10), (10, 10), (0, 10), (0, 0)), + >>> poly = Polygon(((0, 0), (0, 10), (10, 10), (10, 0), (0, 0)), ... ((4, 4), (4, 6), (6, 6), (6, 4), (4, 4))) """ if not args: