Package twisted :: Package flow :: Module stage :: Class Zip |
[frames | no frames]

## Class Zip

    Instruction --+
                  |
              Stage --+
                      |
                    Map --+
                          |
                         Zip

Zips two or more stages into a stream of N tuples

source = flow.Zip([1,flow.Cooperate(),2,3],["one","two"]) printFlow(source)

Method Summary
| `__init__(self, *stages)`
Inherited from Map
| ``_yield`(self)` executed during a yield statement by previous stage
Inherited from Stage
| ``__iter__`(self)`
| ``next`(self)` return current result

Generated by Epydoc 2.0 on Sat Oct 25 00:54:45 2003 | http://epydoc.sf.net