Iteratoren wurden eingeführt mit
Python 2.2 siehe auch PEP 234 – Iterators (DE)
from typing import Iterable
ab Python 3.9 deprecated siehe PEP 585 – Type Hinting Generics In Standard Collections (DE)
später …
ab Python 3.3
from collections.abc import Iterable