Method: calendar.setfirstweekday
Calls: 19, Exceptions: 4, Paths: 3Back
Path 1: 15 calls (0.79)
0 (11) 6 (4)
1def setfirstweekday(firstweekday):
2 if not MONDAY <= firstweekday <= SUNDAY:
3 raise IllegalWeekdayError(firstweekday)
4 c.firstweekday = firstweekday
Path 2: 3 calls (0.16)
123 (1) -1 (1) 200 (1)
IllegalWeekdayError (3)
1def setfirstweekday(firstweekday):
2 if not MONDAY <= firstweekday <= SUNDAY:
3 raise IllegalWeekdayError(firstweekday)
4 c.firstweekday = firstweekday
Path 3: 1 calls (0.05)
'flabber' (1)
TypeError (1)
1def setfirstweekday(firstweekday):
2 if not MONDAY <= firstweekday <= SUNDAY:
3 raise IllegalWeekdayError(firstweekday)
4 c.firstweekday = firstweekday