Thanks to visit codestin.com Credit goes to github.com
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 8ade153 commit e8b6b39Copy full SHA for e8b6b39
1 file changed
Lib/_pydatetime.py
@@ -2392,7 +2392,6 @@ def __reduce__(self):
2392
2393
def _isoweek1monday(year):
2394
# Helper to calculate the day number of the Monday starting week 1
2395
- # XXX This could be done more efficiently
2396
THURSDAY = 3
2397
firstday = _ymd2ord(year, 1, 1)
2398
firstweekday = (firstday + 6) % 7 # See weekday() above
0 commit comments