]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Update HTTP links in the _pydatetime docstrings (GH-133025) (GH-133782)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 May 2025 19:02:41 +0000 (21:02 +0200)
committerGitHub <noreply@github.com>
Fri, 9 May 2025 19:02:41 +0000 (19:02 +0000)
(cherry picked from commit aed28eb5a0c55e246ad24e34dc2be0d9dccb8bf0)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Lib/_pydatetime.py

index ac1380c12b0a06f08714598458293c71b4b2e066..b894551a02921ffe2252046d6e475ff56bb9be92 100644 (file)
@@ -1056,8 +1056,8 @@ class date:
         This is 'YYYY-MM-DD'.
 
         References:
-        - http://www.w3.org/TR/NOTE-datetime
-        - http://www.cl.cam.ac.uk/~mgk25/iso-time.html
+        - https://www.w3.org/TR/NOTE-datetime
+        - https://www.cl.cam.ac.uk/~mgk25/iso-time.html
         """
         return "%04d-%02d-%02d" % (self._year, self._month, self._day)
 
@@ -1191,7 +1191,7 @@ class date:
         The first week is 1; Monday is 1 ... Sunday is 7.
 
         ISO calendar algorithm taken from
-        http://www.phys.uu.nl/~vgent/calendar/isocalendar.htm
+        https://www.phys.uu.nl/~vgent/calendar/isocalendar.htm
         (used with permission)
         """
         year = self._year