From b2bacbbea3e770b61ecedc058a63c7c97a7f4851 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 5 Jan 2025 00:01:03 +0100 Subject: [PATCH] [3.13] gh-127553: Remove outdated TODO comment in _pydatetime (GH-127564) (#128500) (cherry picked from commit e8b6b39ff707378da654e15ccddde9c28cefdd30) Co-authored-by: Beomsoo Kim --- Lib/_pydatetime.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py index 34ccb2da13d0f3..e001bd3bbba4b7 100644 --- a/Lib/_pydatetime.py +++ b/Lib/_pydatetime.py @@ -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