Skip to content

Commit e0cad5f

Browse files
committed
Revert "Adds a comment about the need for week addition"
This reverts commit 604f61a.
1 parent 604f61a commit e0cad5f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/_pydatetime.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2395,8 +2395,6 @@ def _isoweek1monday(year):
23952395
THURSDAY = 3
23962396
firstday = _ymd2ord(year, 1, 1)
23972397
firstweekday = (firstday + 6) % 7 # See weekday() above
2398-
# If the first weekday is after Thursday,
2399-
# ISO week 1 doesn't start until the next Monday
24002398
week1monday = firstday - firstweekday
24012399
if firstweekday > THURSDAY:
24022400
week1monday += 7

0 commit comments

Comments
 (0)