MCPcopy Index your code
hub / github.com/python/cpython / pairs

Function pairs

Lib/test/datetimetester.py:6598–6601  ·  view source on GitHub ↗
(iterable)

Source from the content-addressed store, hash-verified

6596SEC = timedelta(0, 1)
6597
6598def pairs(iterable):
6599 a, b = itertools.tee(iterable)
6600 next(b, None)
6601 return zip(a, b)
6602
6603class ZoneInfo(tzinfo):
6604 zoneroot = '/usr/share/zoneinfo'

Callers 2

transitionsMethod · 0.85
nondst_foldsMethod · 0.85

Calls 1

teeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…