idiombench / Python /train /3.8 /protocol /modern_08.py
SwashBuckler001's picture
IdiomBench (part 10)
c6ed2d8 verified
Raw History Blame Contribute Delete
100 Bytes
class Iterable(Protocol[T]):
@abstractmethod
def __iter__(self) -> Iterator[T]:
...