mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
[3.13] gh-127553: Remove outdated TODO comment in _pydatetime (GH-127564) (#128500)
(cherry picked from commit e8b6b39ff7)
Co-authored-by: Beomsoo Kim <beoms424@gmail.com>
This commit is contained in:
parent
5ed2b7649e
commit
b2bacbbea3
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue