Closed SimonHeybrock closed 2 years ago
Without __iter__ Python apparently just calls __getitem__ with integers starting at 0 (until IndexError).
__iter__
__getitem__
IndexError
Without
__iter__
Python apparently just calls__getitem__
with integers starting at 0 (untilIndexError
).