Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Date
Class
Date
Lib/test/test_dataclasses/__init__.py:839–842 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
837
838
@dataclass
839
class
Date:
840
year: int
841
month: int
842
day: int
843
844
self.assertNotEqual(Point3D(2017, 6, 3), Date(2017, 6, 3))
845
self.assertNotEqual(Point3D(1, 2, 3), (1, 2, 3))
Callers
3
test_not_other_dataclass
Method · 0.70
test_abc_implementation
Method · 0.70
DateFromTicks
Function · 0.50
Calls
no outgoing calls
Tested by
2
test_not_other_dataclass
Method · 0.56
test_abc_implementation
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…