Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
質問: Python のリスト イテレータの動作と next(iterator)は、
for i in iter: ... next(iter)
for ループで先にスキップする効果があります。これは、私が信頼できる定義済みの動作 (たとえば、一部の PEP) ですか、それとも警告なしに変更される可能性のある単なる実装上の事故ですか?