https://github.com/python/cpython/commit/aed28eb5a0c55e246ad24e34dc2be0d9dccb8bf0
commit: aed28eb5a0c55e246ad24e34dc2be0d9dccb8bf0
branch: main
author: Stan Ulbrych <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2025-05-09T21:38:37+03:00
summary:
Update HTTP links in the _pydatetime docstrings (GH-133025)
files:
M Lib/_pydatetime.py
diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py
index 9448f2a0a5f462..471e89c16a1c0e 100644
--- a/Lib/_pydatetime.py
+++ b/Lib/_pydatetime.py
@@ -1127,8 +1127,8 @@ def isoformat(self):
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 @@ def isocalendar(self):
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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]