diff options
author | Victorien <65306057+Viicos@users.noreply.github.com> | 2024-10-01 13:51:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 13:51:51 (GMT) |
commit | 3e3a4d231518f91ff2f3c5a085b3849e32f1d548 (patch) | |
tree | ecfd11282bd45f28f4acca136db8acab61385de2 /Python/optimizer_analysis.c | |
parent | 91e64be731fe42e6b252b95d79d900251388bfc6 (diff) | |
download | cpython-3e3a4d231518f91ff2f3c5a085b3849e32f1d548.zip cpython-3e3a4d231518f91ff2f3c5a085b3849e32f1d548.tar.gz cpython-3e3a4d231518f91ff2f3c5a085b3849e32f1d548.tar.bz2 |
gh-118974: Add `decorator` argument to `make_dataclass` (gh-122723)
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.
Diffstat (limited to 'Python/optimizer_analysis.c')
0 files changed, 0 insertions, 0 deletions