Skip to content

Commit

Permalink
[3.13] gh-127553: Remove outdated TODO comment in _pydatetime (GH-127564
Browse files Browse the repository at this point in the history
) (#128500)

(cherry picked from commit e8b6b39)

Co-authored-by: Beomsoo Kim <beoms424@gmail.com>
  • Loading branch information
miss-islington and bombs-kim authored Jan 4, 2025
1 parent 5ed2b76 commit b2bacbb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Lib/_pydatetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -2306,7 +2306,6 @@ def __reduce__(self):

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

0 comments on commit b2bacbb

Please sign in to comment.