From: Beomsoo Kim Date: Sat, 4 Jan 2025 22:38:49 +0000 (+0900) Subject: gh-127553: Remove outdated TODO comment in _pydatetime (#127564) X-Git-Tag: v3.14.0a4~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e8b6b39ff707378da654e15ccddde9c28cefdd30;p=thirdparty%2FPython%2Fcpython.git gh-127553: Remove outdated TODO comment in _pydatetime (#127564) --- diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py index ed01670cfece..be90c9b1315d 100644 --- a/Lib/_pydatetime.py +++ b/Lib/_pydatetime.py @@ -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