MCPcopy Index your code
hub / github.com/python/cpython / A

Class A

Lib/test/test_dataclasses/__init__.py:592–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590 with self.assertRaisesRegex(ValueError, unhashable_re):
591 @dataclass
592 class A:
593 a: dict = {}
594
595 with self.assertRaisesRegex(ValueError, unhashable_re):
596 @dataclass

Calls 1

UnhashableClass · 0.70