collections.abc.Iterator
https://docs.python.org/ja/3/library/collections.abc.html#collections.abc.Iterator
__iter__() メソッドと __next__() メソッドを提供するクラスの ABC
Python用語集 iterator