Package twisted :: Package flow :: Module stage :: Class Zip
[show private | hide private]
[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)
  __iter__(self)
(inherited from Stage)
  next(self)
return current result (inherited from Stage)
  _yield(self)
executed during a yield statement by previous stage (inherited from Map)

Generated by Epydoc 1.1 on Fri Jun 27 03:47:50 2003 http://epydoc.sf.net