]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-127553: Remove outdated TODO comment in _pydatetime (#127564)
authorBeomsoo Kim <beoms424@gmail.com>
Sat, 4 Jan 2025 22:38:49 +0000 (07:38 +0900)
committerGitHub <noreply@github.com>
Sat, 4 Jan 2025 22:38:49 +0000 (23:38 +0100)
Lib/_pydatetime.py

index ed01670cfece432792d1ca697de76904a2e3ca65..be90c9b1315d53f12379f6b6ab97df9a9fa4d9eb 100644 (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