Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ test_combinations_with_replacement
Method
test_combinations_with_replacement
Lib/test/test_itertools.py:2035–2037 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2033
self.makecycle(combinations([1,2,a,3], 3), a)
2034
2035
def
test_combinations_with_replacement(self):
2036
a = []
2037
self.makecycle(combinations_with_replacement([1,2,a,3], 3), a)
2038
2039
def
test_compress(self):
2040
a = []
Callers
nothing calls this directly
Calls
1
makecycle
Method · 0.95
Tested by
no test coverage detected