(self, list_)
| 70 | """ |
| 71 | |
| 72 | def __init__(self, list_): |
| 73 | if not isinstance(list_, list): |
| 74 | raise TypeError("Expected a list, got: {}.".format(type(list_))) |
| 75 | self._list = list_ |
| 76 | |
| 77 | def __iter__(self): |
| 78 | return iter(self._list) |
no test coverage detected