parameters: (self, year, month)
docstring: Like itermonthdates(), but will yield (year, month, day) tuples.  Can be
          used for dates outside of datetime.date range.
docstring_summary: Like itermonthdates(), but will yield (year, month, day) tuples.  Can be
          used for dates outside of datetime.date range.
docstring_tokens: Like itermonthdates () but will yield ( year month day ) tuples . Can be used for dates outside of datetime . date range .
function: def itermonthdays3(self, year, month):
          """
          Like itermonthdates(), but will yield (year, month, day) tuples.  Can be
          used for dates outside of datetime.date range.
          """
          day1, ndays = monthrange(year, month)
          days_before = (day1 - self.firstweekday) % 7
          days_after = (self.firstweekday - day1 - ndays) % 7
          y, m = prevmonth(year, month)
          end = monthlen(y, m) + 1
          for d in range(end-days_before, end):
              yield y, m, d
          for d in range(1, ndays + 1):
              yield year, month, d
          y, m = nextmonth(year, month)
          for d in range(1, days_after + 1):
              yield y, m, d
function_tokens: def itermonthdays3 ( self , year , month ) : day1 , ndays = monthrange ( year , month ) days_before = ( day1 - self . firstweekday ) % 7 days_after = ( self . firstweekday - day1 - ndays ) % 7 y , m = prevmonth ( year , month ) end = monthlen ( y , m ) + 1 for d in range ( end - days_before , end ) : yield y , m , d for d in range ( 1 , ndays + 1 ) : yield year , month , d y , m = nextmonth ( year , month ) for d in range ( 1 , days_after + 1 ) : yield y , m , d