Path 1: 328 calls (1.0)

list (328)

2 (327) 1 (1)

' 1 2 3 4' (13) ' 5 6 7 8 9 10 11' (13) '12 13 14 15 16 17 18' (13) '19 20 21 22 23 24 25' (13) ' 1 2 3 4 5' (10) ' 6 7 8 ...

1def formatweek(self, theweek, width):
2        """
3        Returns a single week in a string (no newline).
4        """
5        return ' '.join(self.formatday(d, wd, width) for (d, wd) in theweek)