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

Method formatweekday

Lib/calendar.py:512–516  ·  view source on GitHub ↗

Return a weekday name as a table header.

(self, day)

Source from the content-addressed store, hash-verified

510 return f'<tr>{s}</tr>'
511
512 def formatweekday(self, day):
513 """
514 Return a weekday name as a table header.
515 """
516 return f'<th class="{self.cssclasses_weekday_head[day]}">{day_abbr[day]}</th>'
517
518 def formatweekheader(self):
519 """

Callers 1

formatweekheaderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected