Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
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.

src/n/a/natsort-3.1.1/natsort/natsort.py   natsort(Download)
import sys
 
from .py23compat import u_format, py23_basestring, py23_range, py23_str, py23_zip
 
__doc__ = u_format(__doc__) # Make sure the doctest works for either python2 or python3
    item1 = itemgetter(1)
    # Pair the index and sequence together, then sort by
    index_seq_pair = [[x, key(y)] for x, y in py23_zip(py23_range(len(seq)), seq)]
    index_seq_pair.sort(key=lambda x: natsort_key(item1(x), 
                                                  number_type=number_type,

src/n/a/natsort-HEAD/natsort/natsort.py   natsort(Download)
import sys
 
from .py23compat import u_format, py23_basestring, py23_range, py23_str, py23_zip
 
__doc__ = u_format(__doc__) # Make sure the doctest works for either python2 or python3
    item1 = itemgetter(1)
    # Pair the index and sequence together, then sort by
    index_seq_pair = [[x, key(y)] for x, y in py23_zip(py23_range(len(seq)), seq)]
    index_seq_pair.sort(key=lambda x: natsort_key(item1(x), 
                                                  number_type=number_type,