Method: calendar.Calendar.itermonthdays4
Calls: 1, Exceptions: 0, Paths: 1Back
Path 1: 1 calls (1.0)
2001 (1)
2 (1)
(2001, 2, 1, 3) (1) (2001, 2, 2, 4) (1) (2001, 2, 3, 5) (1) (2001, 2, 4, 6) (1) (2001, 2, 5, 0) (1) (2001, 2, 6, 1) (1) (2001, 2, 7, 2) (1) (2001, 2, ...
1def itermonthdays4(self, year, month):
2 """
3 Like itermonthdates(), but will yield (year, month, day, day_of_week) tuples.
4 Can be used for dates outside of datetime.date range.
5 """
6 for i, (y, m, d) in enumerate(self.itermonthdays3(year, month)):
7 yield y, m, d, (self.firstweekday + i) % 7