Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Module itertools :: Class izip
[hide private]
[frames] | no frames]

type izip

object --+
         |
        izip

izip(iter1 [,iter2 [...]]) --> izip object

Return a izip object whose .next() method returns a tuple where the i-th element comes from the i-th iterable argument. The .next() method continues until the shortest iterable in the argument sequence is exhausted and then it raises StopIteration. Works like the zip() function but consumes less memory by returning an iterator instead of a list.

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)
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__