calendar.LocaleTextCalendar.monthdays2calendar

LocaleTextCalendar.monthdays2calendar(year, month)

Return a matrix representing a month’s calendar. Each row represents a week; week entries are (day number, weekday number) tuples. Day numbers outside this month are zero.