gh-127553: Remove outdated TODO comment in _pydatetime (#127564)

This commit is contained in:
Beomsoo Kim 2025-01-05 07:38:49 +09:00 committed by GitHub
parent 8ade15343d
commit e8b6b39ff7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2392,7 +2392,6 @@ datetime.resolution = timedelta(microseconds=1)
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