Like itermonthdates(), but will yield (day number, weekday number) tuples. For days outside the specified month the day number is 0.
(self, year, month)
| 238 | yield from repeat(0, days_after) |
| 239 | |
| 240 | def itermonthdays2(self, year, month): |
| 241 | """ |
| 242 | Like itermonthdates(), but will yield (day number, weekday number) |
| 243 | tuples. For days outside the specified month the day number is 0. |
| 244 | """ |
| 245 | for i, d in enumerate(self.itermonthdays(year, month), self.firstweekday): |
| 246 | yield d, i % 7 |
| 247 | |
| 248 | def itermonthdays3(self, year, month): |
| 249 | """ |