��Yf�  �               @   s5   d  d l  Z  d  d l Z e  j d � d d �  Z d S)�    Nzhttps://xkcd.com/353/c             C   sz   t  j | � j �  } d d �  | d d � | d d � f D� \ } } t d |  | d d � | | d d � f � d S)z�Compute geohash() using the Munroe algorithm.
    >>> geohash(37.421542, -122.085589, b'2005-05-26-10458.68')
    37.857713 -122.544543
    c             S   s'