Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
6409
SEC = timedelta(0, 1)
6410
6411
def
pairs(iterable):
6412
a, b = itertools.tee(iterable)
6413
next(b, None)
6414
return
zip(a, b)
6415
6416
class
ZoneInfo(tzinfo):
6417
zoneroot =
'/usr/share/zoneinfo'
Callers
2
transitions
Method · 0.85
nondst_folds
Method · 0.85
Calls
2
next
Function · 0.85
tee
Method · 0.80
Tested by
no test coverage detected