Home
last modified time | relevance | path

Searched refs:izip_longest (Results 1 – 13 of 13) sorted by relevance

/external/bcc/tools/
Dsyscount.py23 izip_longest = itertools.izip_longest variable
25 izip_longest = itertools.zip_longest variable
73 for grp in izip_longest(*(iter(sorted(syscalls.values())),) * 4):
/external/python/cpython2/Lib/test/
Dtest_itertools.py596 self.assertEqual(list(izip_longest(*args)), target)
597 self.assertEqual(list(izip_longest(*args, **{})), target)
599 self.assertEqual(list(izip_longest(*args, **dict(fillvalue='X'))), target)
601 …self.assertEqual(take(3,izip_longest('abcdef', count())), zip('abcdef', range(3))) # take 3 from i…
603 self.assertEqual(list(izip_longest()), zip())
604 self.assertEqual(list(izip_longest([])), zip([]))
605 self.assertEqual(list(izip_longest('abcdef')), zip('abcdef'))
607 self.assertEqual(list(izip_longest('abc', 'defg', **{})),
609 self.assertRaises(TypeError, izip_longest, 3)
610 self.assertRaises(TypeError, izip_longest, range(3), 3)
[all …]
Dtest_xrange.py35 pairs = itertools.izip_longest(xs, ys, fillvalue=sentinel)
/external/python/cpython2/Doc/library/
Ditertools.rst63 :func:`izip_longest` p, q, ... (p[0], q[0]), (p[1], q[1]), ... …
462 values are important, use :func:`izip_longest` instead.
465 .. function:: izip_longest(*iterables[, fillvalue])
474 def izip_longest(*args, **kwds):
475 # izip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C- D-
492 :func:`izip_longest` function should be wrapped with something that limits
756 return izip_longest(fillvalue=fillvalue, *args)
/external/chromium-trace/catapult/devil/devil/android/
Dlogcat_monitor_test.py32 return itertools.izip_longest(expected, actual)
/external/python/six/
DCHANGES206 respectively to itertools.izip_longest and itertools.ifilterfalse on Python 2
/external/harfbuzz_ng/test/shaping/
Dhb_test_tools.py216 for lines in izip_longest (*files):
/external/python/six/documentation/
Dindex.rst688 | ``zip_longest`` | :func:`py2:itertools.izip_longest` | :func:`py3:itertools.zip_lon…
/external/python/cpython2/Doc/whatsnew/
D2.6.rst2007 ``izip_longest(iter1, iter2, ...[, fillvalue])`` makes tuples from
2011 >>> tuple(itertools.izip_longest([1,2,3], [1,2,3,4,5]))
/external/python/cpython3/Doc/whatsnew/
D2.6.rst2011 ``izip_longest(iter1, iter2, ...[, fillvalue])`` makes tuples from
2015 >>> tuple(itertools.izip_longest([1,2,3], [1,2,3,4,5]))
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst3046 Added itertools.izip_longest().
D2.7a1.rst161 ``itertools.izip_longest()`` no longer ignores exceptions raised during the
/external/python/cpython3/Misc/
DHISTORY12954 - Issue #7244: itertools.izip_longest() no longer ignores exceptions raised
17029 izip_longest() to zip_longest() and ifilterfalse() to filterfalse().