Skip to content

Commit ba481a1

Browse files
committed
Add docstring.
1 parent e36c462 commit ba481a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

great_circle.py

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ def to_radians(self, deg):
2828
return rad
2929

3030
def coordinates(self):
31+
"""
32+
Calculate coordinates in degrees and minutes from radians.
33+
"""
3134
latitude = (self.latitude / pi) * 180
3235
latitude_deg, latitude_min = str(latitude).split(".")
3336
latitude_deg = int(latitude_deg)

0 commit comments

Comments
 (0)