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

Method __init__

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

Source from the content-addressed store, hash-verified

667 month and weekday names in the specified locale.
668 """
669 def __init__(self, firstweekday=0, locale=None):
670 HTMLCalendar.__init__(self, firstweekday)
671 if locale is None:
672 locale = _get_default_locale()
673 self.locale = locale
674
675 def formatweekday(self, day):
676 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