Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ B
Class
B
Lib/test/test_dataclasses/__init__.py:156–157 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
154
"default argument 'x'"
):
155
@dataclass
156
class
B:
157
x: int = 0
158
159
@dataclass
160
class
C(B):
Callers
7
test_compare_subclasses
Method · 0.70
test_is_dataclass_when_getattr_always_returns
Method · 0.70
test_dataclass_derived_weakref_slot
Method · 0.70
test_dataclass_derived_generic
Method · 0.70
test_KW_ONLY
Method · 0.70
test_post_init
Method · 0.70
test_remembered_class
Method · 0.70
Calls
no outgoing calls
Tested by
7
test_compare_subclasses
Method · 0.56
test_is_dataclass_when_getattr_always_returns
Method · 0.56
test_dataclass_derived_weakref_slot
Method · 0.56
test_dataclass_derived_generic
Method · 0.56
test_KW_ONLY
Method · 0.56
test_post_init
Method · 0.56
test_remembered_class
Method · 0.56