MCPcopy Index your code
hub / github.com/RustPython/RustPython / C

Class C

Lib/test/test_dataclasses/__init__.py:38–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 def test_no_fields(self):
37 @dataclass
38 class C:
39 pass
40
41 o = C()
42 self.assertEqual(len(fields(C)), 0)

Callers

nothing calls this directly

Calls 2

fieldFunction · 0.85
SimpleNameSpaceClass · 0.85

Tested by

no test coverage detected