阅读背景:

为什么next会出现“StopIteration”,而“for”则是正常返回?

来源:互联网 

In this piece of code, why does using 'for' result in no 'StopIteration' or is the 'for' loop trapping all exceptions and then silently exiting? In which case, why do we have the extraneous 'return'?? Or is the In this piece of code, why does using 'for' res




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: