Like itermonthdates(), but will yield (day number, weekday number) tuples. For days outside the specified month the day number is 0.
(self, year, month)
| 257 | yield from repeat(0, days_after) |
| 258 | |
| 259 | def itermonthdays2(self, year, month): |
| 260 | """ |
| 261 | Like itermonthdates(), but will yield (day number, weekday number) |
| 262 | tuples. For days outside the specified month the day number is 0. |
| 263 | """ |
| 264 | for i, d in enumerate(self.itermonthdays(year, month), self.firstweekday): |
| 265 | yield d, i % 7 |
| 266 | |
| 267 | def itermonthdays3(self, year, month): |
| 268 | """ |