summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBeomsoo Kim <beoms424@gmail.com>2025-01-04 22:38:49 (GMT)
committerGitHub <noreply@github.com>2025-01-04 22:38:49 (GMT)
commite8b6b39ff707378da654e15ccddde9c28cefdd30 (patch)
tree78881024825bd512af3c1d98b426d7165c08add1
parent8ade15343d5daec3bf79ff7c47f03726fb2bcadf (diff)
downloadcpython-e8b6b39ff707378da654e15ccddde9c28cefdd30.zip
cpython-e8b6b39ff707378da654e15ccddde9c28cefdd30.tar.gz
cpython-e8b6b39ff707378da654e15ccddde9c28cefdd30.tar.bz2
gh-127553: Remove outdated TODO comment in _pydatetime (#127564)
-rw-r--r--Lib/_pydatetime.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py
index ed01670..be90c9b 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