]> granicus.if.org Git - python/commitdiff
Change the xkcd link in comment over https. (GH-5452)
author <Xdminsy@users.noreply.github.com>
Fri, 14 Sep 2018 05:45:00 +0000 (13:45 +0800)
committerBenjamin Peterson <benjamin@python.org>
Fri, 14 Sep 2018 05:45:00 +0000 (22:45 -0700)
Lib/antigravity.py

index 9b143680372210efed9dc507a069b1954ab1d54d..c6f174ca6d8736949754519c167fea0182246827 100644 (file)
@@ -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:]))