07.02.14 10:36, Terry Reedy написав(ла):
I wrote the above with the idea that there would be a third parameter to
provide an exception. It would have to have a private default like
class _NoException(Exception): pass
Natural default is StopIteration or ().