Skip to content

Commit

Permalink
Add stubs for haversine (python#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowillia authored and Roy Williams committed Dec 28, 2016
1 parent f901a57 commit d3db02f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions third_party/2and3/haversine/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Stubs for haversine (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Tuple

AVG_EARTH_RADIUS = ... # type: int

def haversine(point1: Tuple[float, float], point2: Tuple[float, float], miles: bool = ...) -> float: ...

0 comments on commit d3db02f

Please sign in to comment.