Skip to content

Commit 57efb77

Browse files
[3.13] Update HTTP links in the _pydatetime docstrings (GH-133025) (GH-133782)
(cherry picked from commit aed28eb) Co-authored-by: Stan Ulbrych <[email protected]>
1 parent ddd6ca1 commit 57efb77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/_pydatetime.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,8 +1056,8 @@ def isoformat(self):
10561056
This is 'YYYY-MM-DD'.
10571057
10581058
References:
1059-
- http://www.w3.org/TR/NOTE-datetime
1060-
- http://www.cl.cam.ac.uk/~mgk25/iso-time.html
1059+
- https://www.w3.org/TR/NOTE-datetime
1060+
- https://www.cl.cam.ac.uk/~mgk25/iso-time.html
10611061
"""
10621062
return "%04d-%02d-%02d" % (self._year, self._month, self._day)
10631063

@@ -1191,7 +1191,7 @@ def isocalendar(self):
11911191
The first week is 1; Monday is 1 ... Sunday is 7.
11921192
11931193
ISO calendar algorithm taken from
1194-
http://www.phys.uu.nl/~vgent/calendar/isocalendar.htm
1194+
https://www.phys.uu.nl/~vgent/calendar/isocalendar.htm
11951195
(used with permission)
11961196
"""
11971197
year = self._year

0 commit comments

Comments
 (0)