News
To signal that our iterator has been exhausted, the defined protocol is to raise StopIteration. Any construct which deals with iterators will be prepared for this, like the for loop in our example.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results