MCPcopy Index your code
hub / github.com/python/cpython / formatweek

Method formatweek

Lib/calendar.py:505–510  ·  view source on GitHub ↗

Return a complete week as a table row.

(self, theweek)

Source from the content-addressed store, hash-verified

503 return f'<td class="{self.cssclasses[weekday]}">{day}</td>'
504
505 def formatweek(self, theweek):
506 """
507 Return a complete week as a table row.
508 """
509 s = ''.join(self.formatday(d, wd) for (d, wd) in theweek)
510 return f'<tr>{s}</tr>'
511
512 def formatweekday(self, day):
513 """

Callers 1

formatmonthMethod · 0.95

Calls 2

formatdayMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected