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

Method __init__

Lib/calendar.py:649–653  ·  view source on GitHub ↗
(self, firstweekday=0, locale=None)

Source from the content-addressed store, hash-verified

647 """
648
649 def __init__(self, firstweekday=0, locale=None):
650 TextCalendar.__init__(self, firstweekday)
651 if locale is None:
652 locale = _get_default_locale()
653 self.locale = locale
654
655 def formatweekday(self, day, width):
656 with different_locale(self.locale):

Callers

nothing calls this directly

Calls 2

_get_default_localeFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected