Skip to content

Commit c4ab0d8

Browse files
committed
Tweek docstrings.
1 parent ba481a1 commit c4ab0d8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

great_circle.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Point(object):
1515

1616
def __init__(self, p):
1717
"""
18-
Initialize instance.
18+
Initialize latitude and longitude.
1919
"""
2020
self.latitude = self.to_radians(float(p[self.LATITUDE]))
2121
self.longitude = self.to_radians(float(p[self.LONGITUDE]))
@@ -153,6 +153,9 @@ class Distance(object):
153153
"""
154154

155155
def __init__(self, p1, p2):
156+
"""
157+
Initialize instance.
158+
"""
156159
self.p1 = p1
157160
self.p2 = p2
158161
self.distance = self.calculate_distance(p1, p2)

0 commit comments

Comments
 (0)