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

Method formatweekday

Lib/calendar.py:622–624  ·  view source on GitHub ↗
(self, day, width)

Source from the content-addressed store, hash-verified

620 self.locale = locale
621
622 def formatweekday(self, day, width):
623 with different_locale(self.locale):
624 return super().formatweekday(day, width)
625
626 def formatmonthname(self, theyear, themonth, width, withyear=True):
627 with different_locale(self.locale):

Calls 3

different_localeClass · 0.85
superClass · 0.85
formatweekdayMethod · 0.45