ABC for generator classes that implement the protocol defined in PEP 342 that extends iterators with the send(), throw() and close() methods.
collections.abc/Generator
Generator