Confusion about one code using __next__ and __iter__ seperate

后端 未结 0 1298
余生分开走
余生分开走 2020-12-24 00:39

I am newly learning self-defined iterator, and confused with the example from below My learning understanding with iter, next so far is:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题