mirror of https://github.com/django/django.git
Corrected example in Polygon docstring.
This commit is contained in:
parent
8f04473af1
commit
c5cc750b56
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue