We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2335b28 commit 0baba70Copy full SHA for 0baba70
area/__init__.py
@@ -27,7 +27,7 @@ def ring__area(coordinates):
27
{float} The approximate signed geodesic _area of the polygon in square meters.
28
"""
29
30
- assert isinstance(coordinates, list)
+ assert isinstance(coordinates, (list, tuple))
31
32
_area = 0
33
coordinates_length = len(coordinates)
@@ -60,7 +60,7 @@ def ring__area(coordinates):
60
61
def polygon__area(coordinates):
62
63
64
65
66
if len(coordinates) > 0:
0 commit comments