mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.12] gh-127553: Remove outdated TODO comment in _pydatetime (GH-127564) (#128501)
(cherry picked from commit e8b6b39ff7)
Co-authored-by: Beomsoo Kim <beoms424@gmail.com>
This commit is contained in:
parent
e1a20910dc
commit
06e4173393
1 changed files with 0 additions and 1 deletions
|
|
@ -2313,7 +2313,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue