Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ dataclass1
Class
dataclass1
Lib/test/test_pprint.py:90–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
88
89
@dataclasses.dataclass
90
class
dataclass1:
91
field1: str
92
field2: int
93
field3: bool = False
94
field4: int = dataclasses.field(default=1, repr=False)
95
96
@dataclasses.dataclass
97
class
dataclass2:
Callers
2
test_small_dataclass
Method · 0.85
test_larger_dataclass
Method · 0.85
Calls
1
field
Method · 0.80
Tested by
2
test_small_dataclass
Method · 0.68
test_larger_dataclass
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…