From 8302afa920eb7c06a0982bd2892eef19b374aa99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Fri, 14 Sep 2018 13:45:00 +0800 Subject: [PATCH] Change the xkcd link in comment over https. (GH-5452) (cherry picked from commit 83df50ea5757816c7338d27f21fd18b1e79206f7) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 觉 --- Lib/antigravity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/antigravity.py b/Lib/antigravity.py index 9b143680372210..c6f174ca6d8736 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:]))