original_docstring: 
          Return an iterator for one month. The iterator will yield datetime.date
          values and will always iterate through complete weeks, so it will yield
          dates outside the specified month.
          
docstring: Return an iterator for one month. The iterator will yield datetime.date
  values and will always iterate through complete weeks, so it will yield
  dates outside the specified month.
docstring_tokens: Return an iterator for one month . The iterator will yield datetime . date values and will always iterate through complete weeks so it will yield dates outside the specified month .
code: def itermonthdates(self, year, month):
          """
          Return an iterator for one month. The iterator will yield datetime.date
          values and will always iterate through complete weeks, so it will yield
          dates outside the specified month.
          """
          date = datetime.date(year, month, 1)
          days = (date.weekday() - self.firstweekday) % 7
          date -= datetime.timedelta(days=days)
          oneday = datetime.timedelta(days=1)
          while True:
              yield date
              date += oneday
              if date.month != month and date.weekday() == self.firstweekday:
                  break
code_tokens: def itermonthdates ( self , year , month ) : date = datetime . date ( year , month , 1 ) days = ( date . weekday ( ) - self . firstweekday ) % 7 date -= datetime . timedelta ( days = days ) oneday = datetime . timedelta ( days = 1 ) while True : yield date date += oneday if date . month != month and date . weekday ( ) == self . firstweekday : break
short_docstring: Return an iterator for one month.
short_docstring_tokens: Return an iterator for one month .
comment: """
          Return an iterator for one month. The iterator will yield datetime.date
          values and will always iterate through complete weeks, so it will yield
          dates outside the specified month.
          """