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

Function wrap

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

Source from the content-addressed store, hash-verified

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

Callers 1

dataclassFunction · 0.70

Calls 1

_process_classFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…