We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ed2b76 commit b2bacbbCopy full SHA for b2bacbb
1 file changed
Lib/_pydatetime.py
@@ -2306,7 +2306,6 @@ def __reduce__(self):
2306
2307
def _isoweek1monday(year):
2308
# Helper to calculate the day number of the Monday starting week 1
2309
- # XXX This could be done more efficiently
2310
THURSDAY = 3
2311
firstday = _ymd2ord(year, 1, 1)
2312
firstweekday = (firstday + 6) % 7 # See weekday() above
0 commit comments