MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / formatweek

Method formatweek

tools/python-3.11.9-amd64/Lib/calendar.py:317–321  ·  view source on GitHub ↗

Returns a single week in a string (no newline).

(self, theweek, width)

Source from the content-addressed store, hash-verified

315 return s.center(width)
316
317 def formatweek(self, theweek, width):
318 """
319 Returns a single week in a string (no newline).
320 """
321 return ' '.join(self.formatday(d, wd, width) for (d, wd) in theweek)
322
323 def formatweekday(self, day, width):
324 """

Callers 3

prweekMethod · 0.95
formatmonthMethod · 0.95
formatyearMethod · 0.95

Calls 2

formatdayMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected