If I understand what you're doing, this might be clearer:
```python
def __iter__(self):
    return iter(self.tokens)
```