Usage
[t for t in g]
Signature
[]: Generator T %
Parameter | Type | Description |
---|---|---|
g | Generator T | an iterator producing elements of T |
Returns
Returns the structure composed of all the elements generated by g in the order in which they are generated.