[Python-checkins] Change the xkcd link in comment over https. (GH-9294)

Benjamin Peterson webhook-mailer at python.org
Fri Sep 14 12:27:52 EDT 2018


https://github.com/python/cpython/commit/bd844b0336376408d7cc3b7fd6830479cd9b3a91
commit: bd844b0336376408d7cc3b7fd6830479cd9b3a91
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Benjamin Peterson <benjamin at python.org>
date: 2018-09-14T09:27:48-07:00
summary:

Change the xkcd link in comment over https. (GH-9294)

(cherry picked from commit 83df50ea5757816c7338d27f21fd18b1e79206f7)

Co-authored-by: 觉 <Xdminsy at users.noreply.github.com>

files:
M Lib/antigravity.py

diff --git a/Lib/antigravity.py b/Lib/antigravity.py
index 9b1436803722..c6f174ca6d87 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:]))



More information about the Python-checkins mailing list