diff options
| author | Stefan Brand <StefanBrand@users.noreply.github.com> | 2022-05-04 17:31:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-04 17:31:42 +0200 |
| commit | c5cc750b56e0ed396ca36be39e39505ed6ede4b1 (patch) | |
| tree | 74f3d429db042e719904f601e912160e12d6f8b4 | |
| parent | 8f04473af1da1ed4e8a07e89205da4e70d69b586 (diff) | |
Corrected example in Polygon docstring.
| -rw-r--r-- | django/contrib/gis/geos/polygon.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
