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

Method formatyearpage

Lib/calendar.py:605–610  ·  view source on GitHub ↗

Return a formatted year as a complete HTML page.

(self, theyear, width=3, css='calendar.css', encoding=None)

Source from the content-addressed store, hash-verified

603 return ''.join(v).encode(encoding, "xmlcharrefreplace")
604
605 def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None):
606 """
607 Return a formatted year as a complete HTML page.
608 """
609 content = self.formatyear(theyear, width)
610 return self._format_html_page(theyear, content, css, encoding)
611
612 def formatmonthpage(self, theyear, themonth, width=3, css='calendar.css', encoding=None):
613 """

Callers 2

mainFunction · 0.95

Calls 2

formatyearMethod · 0.95
_format_html_pageMethod · 0.95

Tested by 1