diff options
author | 觉 <Xdminsy@users.noreply.github.com> | 2018-09-14 05:45:00 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2018-09-14 05:45:00 (GMT) |
commit | 83df50ea5757816c7338d27f21fd18b1e79206f7 (patch) | |
tree | 9c87de136c9c6216adc789e52fb11c0f5fb8efd8 /Lib/antigravity.py | |
parent | 19003841e965bbf56fd06824d6093620c1b66f9e (diff) | |
download | cpython-83df50ea5757816c7338d27f21fd18b1e79206f7.zip cpython-83df50ea5757816c7338d27f21fd18b1e79206f7.tar.gz cpython-83df50ea5757816c7338d27f21fd18b1e79206f7.tar.bz2 |
Change the xkcd link in comment over https. (GH-5452)
Diffstat (limited to 'Lib/antigravity.py')
-rw-r--r-- | Lib/antigravity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/antigravity.py b/Lib/antigravity.py index 9b14368..c6f174c 100644 --- a/Lib/antigravity.py +++ b/Lib/antigravity.py @@ -11,7 +11,7 @@ def geohash(latitude, longitude, datedow): 37.857713 -122.544543 ''' - # http://xkcd.com/426/ + # https://xkcd.com/426/ h = hashlib.md5(datedow).hexdigest() p, q = [('%f' % float.fromhex('0.' + x)) for x in (h[:16], h[16:32])] print('%d%s %d%s' % (latitude, p[1:], longitude, q[1:])) |