parameters: (self, year, month)
return_statement: return [ dates[i:i+7] for i in range(0, len(dates), 7) ]
docstring: Return a matrix (list of lists) representing a month's calendar.
          Each row represents a week; week entries are datetime.date values.
docstring_summary: Return a matrix (list of lists) representing a month's calendar.
          Each row represents a week; week entries are datetime.date values.
docstring_tokens: Return a matrix ( list of lists ) representing a month s calendar . Each row represents a week ; week entries are datetime . date values .
function: def monthdatescalendar(self, year, month):
          """
          Return a matrix (list of lists) representing a month's calendar.
          Each row represents a week; week entries are datetime.date values.
          """
          dates = list(self.itermonthdates(year, month))
          return [ dates[i:i+7] for i in range(0, len(dates), 7) ]
function_tokens: def monthdatescalendar ( self , year , month ) : dates = list ( self . itermonthdates ( year , month ) ) return [ dates [ i : i + 7 ] for i in range ( 0 , len ( dates ) , 7 ) ]