Package turbogears :: Package view :: Module base :: Class cycle

Class cycle

source code

Loops forever over an iterator.

Wraps the itertools.cycle method, but provides a way to get the current value via the 'value' attribute.

Instance Methods
 
__init__(self, iterable) source code
 
__str__(self) source code
 
__repr__(self) source code
 
next(self) source code
Class Variables
  value = None
hash(x)