]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update HTTP links in the _pydatetime docstrings (GH-133025)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Fri, 9 May 2025 18:38:37 +0000 (19:38 +0100)
committerGitHub <noreply@github.com>
Fri, 9 May 2025 18:38:37 +0000 (21:38 +0300)
Lib/_pydatetime.py

index 9448f2a0a5f462f66a965a149605741264d27c16..471e89c16a1c0eaf77dba7bafbf803bcc9e7a74a 100644 (file)
@@ -1127,8 +1127,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)
 
@@ -1262,7 +1262,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