Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Point3Dv1
Class
Point3Dv1
Lib/test/test_dataclasses/__init__.py:854–857 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
852
# equal.
853
@dataclass
854
class
Point3Dv1:
855
x: int = 0
856
y: int = 0
857
z: int = 0
858
self.assertNotEqual(Point3D(0, 0, 0), Point3Dv1())
859
860
def
test_function_annotations(self):
Callers
1
test_not_other_dataclass
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_not_other_dataclass
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…