(self, i)
| 999 | raise TypeError("invalid report type %s" % repr(report_type)) |
| 1000 | |
| 1001 | def __getitem__(self, i): |
| 1002 | if isinstance(i, slice) or isinstance(i, tuple): |
| 1003 | raise IndexError("expected integer report index") |
| 1004 | if (i < 0) or (i >= len(self)): |
| 1005 | raise IndexError("index out of range") |
| 1006 | return self._report_from_index(i) |
| 1007 | |
| 1008 | def __iter__(self): |
| 1009 | count = len(self) |
nothing calls this directly
no test coverage detected