Python
?
In [45]: g = (x for x in range(10))
In [46]: help(g)
Help on generator object:
<genexpr> = class generator(object)
| Data descriptors defined here:
|
| gi_code
|
| gi_frame
|
| gi_running
|
| gi_yieldfrom
| object being iterated by yield from, or None