Module itertools :: Class chain
[hide private]
[frames] | no frames]

Class chain

object --+
         |
        chain

chain(*iterables) --> chain object

Return a chain object whose .next() method returns elements from the first iterable until it is exhausted, then elements from the next iterable, until all of the iterables are exhausted.

Instance Methods [hide private]
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__iter__(x)
iter(x)
a new object with type S, a subtype of T
__new__(T, S, ...)
the next value, or raise StopIteration
next(x)

Inherited from object: __delattr__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__