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 Jan 11, 2017
1 parent d61ca6d commit 7f80054
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 7f80054

Please sign in to comment.