Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ test_repeat
Method
test_repeat
Lib/test/test_itertools.py:2105–2107 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2103
self.makecycle(product([1,2,a,3], repeat=3), a)
2104
2105
def
test_repeat(self):
2106
a = []
2107
self.makecycle(repeat(a), a)
2108
2109
def
test_starmap(self):
2110
a = []
Callers
nothing calls this directly
Calls
2
makecycle
Method · 0.95
repeat
Function · 0.50
Tested by
no test coverage detected