MCPcopy Index your code
hub / github.com/RustPython/RustPython / formatweek

Method formatweek

Lib/calendar.py:486–491  ·  view source on GitHub ↗

Return a complete week as a table row.

(self, theweek)

Source from the content-addressed store, hash-verified

484 return '<td class="%s">%d</td>' % (self.cssclasses[weekday], day)
485
486 def formatweek(self, theweek):
487 """
488 Return a complete week as a table row.
489 """
490 s = ''.join(self.formatday(d, wd) for (d, wd) in theweek)
491 return '<tr>%s</tr>' % s
492
493 def formatweekday(self, day):
494 """

Callers 1

formatmonthMethod · 0.95

Calls 2

formatdayMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected