diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-09-14 09:28:07 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2018-09-14 09:28:07 -0700 |
commit | bd979b2d2b30ff2bfa44bdbbaba9d7a30900102c (patch) | |
tree | f157beed2957ff3ea3792690154980cdcc253a6c | |
parent | c974051d737a25a4c2066d1bb2832286adb12dd9 (diff) | |
download | cpython-git-bd979b2d2b30ff2bfa44bdbbaba9d7a30900102c.tar.gz |
Change the xkcd link in comment over https. (GH-9293)
(cherry picked from commit 83df50ea5757816c7338d27f21fd18b1e79206f7)
Co-authored-by: 觉 <Xdminsy@users.noreply.github.com>
-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 9b14368037..c6f174ca6d 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:])) |