(self, i)
| 121 | self.format = format |
| 122 | |
| 123 | def __getitem__(self, i): |
| 124 | funcs = self._days[i] |
| 125 | if isinstance(i, slice): |
| 126 | return [f(self.format) for f in funcs] |
| 127 | else: |
| 128 | return funcs(self.format) |
| 129 | |
| 130 | def __len__(self): |
| 131 | return 7 |
nothing calls this directly
no test coverage detected