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

Function wrap

Lib/dataclasses.py:1431–1434  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

1429 """
1430
1431 def wrap(cls):
1432 return _process_class(cls, init, repr, eq, order, unsafe_hash,
1433 frozen, match_args, kw_only, slots,
1434 weakref_slot)
1435
1436 # See if we're being called as @dataclass or @dataclass().
1437 if cls is None:

Callers 1

dataclassFunction · 0.70

Calls 1

_process_classFunction · 0.85

Tested by

no test coverage detected