mirror of
https://github.com/python/cpython.git
synced 2025-09-05 00:11:10 +00:00
gh-127553: Remove outdated TODO comment in _pydatetime (#127564)
This commit is contained in:
parent
8ade15343d
commit
e8b6b39ff7
1 changed files with 0 additions and 1 deletions
|
@ -2392,7 +2392,6 @@ datetime.resolution = timedelta(microseconds=1)
|
||||||
|
|
||||||
def _isoweek1monday(year):
|
def _isoweek1monday(year):
|
||||||
# Helper to calculate the day number of the Monday starting week 1
|
# Helper to calculate the day number of the Monday starting week 1
|
||||||
# XXX This could be done more efficiently
|
|
||||||
THURSDAY = 3
|
THURSDAY = 3
|
||||||
firstday = _ymd2ord(year, 1, 1)
|
firstday = _ymd2ord(year, 1, 1)
|
||||||
firstweekday = (firstday + 6) % 7 # See weekday() above
|
firstweekday = (firstday + 6) % 7 # See weekday() above
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue