Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ C1
Class
C1
Lib/test/test_typing.py:5198–5199 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5196
# See https://bugs.python.org/issue41370
5197
5198
class
C1:
5199
a: list[
'C1'
]
5200
self.assertEqual(
5201
get_type_hints(C1, globals(), locals()),
5202
{
'a'
: list[C1]}
Callers
3
test_subprotocols_extending
Method · 0.70
test_subprotocols_merging
Method · 0.70
test_extended_generic_rules_subclassing
Method · 0.70
Calls
no outgoing calls
Tested by
3
test_subprotocols_extending
Method · 0.56
test_subprotocols_merging
Method · 0.56
test_extended_generic_rules_subclassing
Method · 0.56