Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ A
Class
A
Lib/test/test_typing.py:6612–6613 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6610
return
None
6611
6612
class
A:
6613
y: float
6614
class
B(A):
6615
x: ClassVar[Optional[
'B'
]] = None
6616
y: int
Callers
13
test_io_reader_protocol_allowed
Method · 0.70
test_io_writer_protocol_allowed
Method · 0.70
test_new_no_args
Method · 0.70
test_parameter_detection
Method · 0.70
test_generic
Method · 0.70
test_non_generic_subscript
Method · 0.70
test_non_generic_subscript
Method · 0.70
test_hash_eq
Method · 0.70
test_instantiate
Method · 0.70
test_instantiate_immutable
Method · 0.70
test_cannot_instantiate_forward
Method · 0.70
test_cannot_instantiate_type_var
Method · 0.70
Calls
no outgoing calls
Tested by
13
test_io_reader_protocol_allowed
Method · 0.56
test_io_writer_protocol_allowed
Method · 0.56
test_new_no_args
Method · 0.56
test_parameter_detection
Method · 0.56
test_generic
Method · 0.56
test_non_generic_subscript
Method · 0.56
test_non_generic_subscript
Method · 0.56
test_hash_eq
Method · 0.56
test_instantiate
Method · 0.56
test_instantiate_immutable
Method · 0.56
test_cannot_instantiate_forward
Method · 0.56
test_cannot_instantiate_type_var
Method · 0.56