Feature summary:
pagegenerators.GoogleSearchPageGenerator should be a Generator as the class name says
Use case(s) :
Currenly pagegenerators.GoogleSearchPageGenerator is an Iterables; it works with for loops but it does not support next() function of an Iterator.
Benefits:
Making pagegenerators.GoogleSearchPageGenerator a collections.abc.Generator they are capable to be used as
- Iterable (for loops etc.)
- Iterator (next() function etc.)
- Generator (close() method which is used by BaseBot; BaseBot tries to convert every Iterable to a Generator)