twisted.flow.wrap._List

Package twisted :: Package flow :: Module wrap :: Class _List |
[frames | no frames]

## Class _List

    Instruction --+
                  |
              Stage --+
                      |
                     _List

Wrapper for lists and tuple objects; don't create directly

A simple stage, which admits the usage of instructions, such as Cooperate() within the list. This would be much simpler without logic to handle instructions.

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

Method Details

### _yield(self) executed during a yield statement by previous stage This method is private within the scope of the flow module, it is used by one stage in the flow to ask a subsequent stage to produce its value. The result of the yield is then stored in self.result and is an instance of Failure if a problem occurred. Overrides: `twisted.flow.base.Stage._yield` (inherited documentation)

Generated by Epydoc 2.0 on Sat May 15 20:08:15 2004 | http://epydoc.sf.net