跳到主要内容
CodeWiki
练习
学习路径
学习方向
速查表
试验场
术语表
AI时代
搜索
⌘K
English
中文
练习
学习路径
学习方向
速查表
试验场
术语表
AI时代
English
中文
术语表
/
iterator-protocol
迭代器协议
Iterator protocol
Python的逐项读取契约:iter() 取得迭代器,next() 持续返回数据项,直至StopIteration表示耗尽。
别名
iteration-protocol
用到的主题
生成器与迭代器
Python
上一个术语
迭代器关闭
下一个术语
JSON文本
有新版本可用
重新加载