mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
3e3a4d2315
This is to allow the `dataclasses.make_dataclass` infrastructure to be used with another decorator that's compliant with `typing.dataclass_transform`. The new `decorator` argument to `dataclasses.make_dataclass` is `dataclasses.dataclass`, which used to be hard coded.