Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ T
Class
T
Lib/test/test_functools.py:1893–1894 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1891
self.assertEqual(cached((0.0,)),
'(0,)'
)
1892
1893
class
T(tuple):
1894
pass
1895
1896
self.assertEqual(cached(T((1,))),
'(1,)'
)
1897
self.assertEqual(cached(T((True,))),
'(1,)'
)
Callers
2
test_lru_cache_typed_is_not_recursive
Method · 0.70
test_mro_conflicts
Method · 0.70
Calls
no outgoing calls
Tested by
2
test_lru_cache_typed_is_not_recursive
Method · 0.56
test_mro_conflicts
Method · 0.56