yield break in Python

前端 未结 4 664
北海茫月
北海茫月 2021-01-30 16:18

According to answer to this question, yield break in C# is equivalent to return in Python. In the normal case, return indeed stops a gener

4条回答
提交回复
热议问题