TYP: define gen and gen2 as Iterable (#45139)
TYP: define gen and gen2 as Iterable (#45139)

Co-authored-by: Kashif Khan <79e6ec600990dbbae7af4d89cdf698ee970440d6@users.noreply.github.com>
datapythonista/pandas,pandas-dev/pandas,datapythonista/pandas,datapythonista/pandas,datapythonista/pandas,pandas-dev/pandas,pandas-dev/pandas,pandas-dev/pandas