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

Method iterweekdays

Lib/calendar.py:211–217  ·  view source on GitHub ↗

Return an iterator for one week of weekday numbers starting with the configured first one.

(self)

Source from the content-addressed store, hash-verified

209 firstweekday = property(getfirstweekday, setfirstweekday)
210
211 def iterweekdays(self):
212 """
213 Return an iterator for one week of weekday numbers starting with the
214 configured first one.
215 """
216 for i in range(self.firstweekday, self.firstweekday + 7):
217 yield i%7
218
219 def itermonthdates(self, year, month):
220 """

Callers 3

test_iterweekdaysMethod · 0.95
formatweekheaderMethod · 0.80
formatweekheaderMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_iterweekdaysMethod · 0.76