MCPcopy Index your code
hub / github.com/RustPython/RustPython / pairs

Function pairs

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

Source from the content-addressed store, hash-verified

6409SEC = timedelta(0, 1)
6410
6411def pairs(iterable):
6412 a, b = itertools.tee(iterable)
6413 next(b, None)
6414 return zip(a, b)
6415
6416class ZoneInfo(tzinfo):
6417 zoneroot = '/usr/share/zoneinfo'

Callers 2

transitionsMethod · 0.85
nondst_foldsMethod · 0.85

Calls 2

nextFunction · 0.85
teeMethod · 0.80

Tested by

no test coverage detected