From: 觉 Date: Fri, 14 Sep 2018 05:45:00 +0000 (+0800) Subject: Change the xkcd link in comment over https. (GH-5452) X-Git-Tag: v3.8.0a1~997 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83df50ea5757816c7338d27f21fd18b1e79206f7;p=python Change the xkcd link in comment over https. (GH-5452) --- 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:]))