code: def weeks_of_year(cls, year):
          
          w = cls(year, 1)
          while w.year == year:
              yield w
              w += 1
docs: Return an iterator over the weeks of the given year.
          Years have either 52 or 53 weeks.