3 ms·
It would be the implicit StopIteration exception from the resulting iterator, but I completely agree this can easily be seen as inconsistent / surprising, which
by mlthoughts2018 8y ago
It would be the implicit StopIteration exception from the resulting iterator, but I completely agree this can easily be seen as inconsistent / surprising, which is among the reasons why I don’t like it.
- reificator 8y agoThanks for the clarification, I don't use python very often myself. That does underscore that there's really not a normal conditional there though.