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

Method __init__

Lib/calendar.py:219–220  ·  view source on GitHub ↗
(self, firstweekday=0)

Source from the content-addressed store, hash-verified

217 """
218
219 def __init__(self, firstweekday=0):
220 self.firstweekday = firstweekday # 0 = Monday, 6 = Sunday
221
222 def getfirstweekday(self):
223 return self._firstweekday % 7

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected