next up previous contents index
Next: apply Up: LinearStructureType Previous: LinearStructureType   Contents   Index


[]


Usage

[t for t in g]


Signature

[]: Generator T $\to$ %


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.



Manuel Bronstein 2004-06-28