Skip to content

Commit b2bacbb

Browse files
[3.13] gh-127553: Remove outdated TODO comment in _pydatetime (GH-127564) (#128500)
(cherry picked from commit e8b6b39) Co-authored-by: Beomsoo Kim <[email protected]>
1 parent 5ed2b76 commit b2bacbb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/_pydatetime.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2306,7 +2306,6 @@ def __reduce__(self):
23062306

23072307
def _isoweek1monday(year):
23082308
# Helper to calculate the day number of the Monday starting week 1
2309-
# XXX This could be done more efficiently
23102309
THURSDAY = 3
23112310
firstday = _ymd2ord(year, 1, 1)
23122311
firstweekday = (firstday + 6) % 7 # See weekday() above

0 commit comments

Comments
 (0)