Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ C2
Class
C2
Lib/test/test_typing.py:5205–5206 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5203
)
5204
5205
class
C2:
5206
a: dict[
'C1'
, list[List[list[
'C2'
]]]]
5207
self.assertEqual(
5208
get_type_hints(C2, globals(), locals()),
5209
{
'a'
: dict[C1, list[List[list[C2]]]]}
Callers
3
test_subprotocols_extending
Method · 0.70
test_subprotocols_merging
Method · 0.70
test_bundled_protocol_instance_works
Method · 0.70
Calls
no outgoing calls
Tested by
3
test_subprotocols_extending
Method · 0.56
test_subprotocols_merging
Method · 0.56
test_bundled_protocol_instance_works
Method · 0.56