Skip to content

Commit e8b6b39

Browse files
authored
gh-127553: Remove outdated TODO comment in _pydatetime (#127564)
1 parent 8ade153 commit e8b6b39

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/_pydatetime.py

-1
Original file line numberDiff line numberDiff line change
@@ -2392,7 +2392,6 @@ def __reduce__(self):
23922392

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

0 commit comments

Comments
 (0)