diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-03-25 19:36:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-25 19:36:38 (GMT) |
commit | 8ec6486462b920ab92ecb685a79fc3446681e1b8 (patch) | |
tree | 39da003240c2ae1bd872f82bccece6a0d24ec475 /Lib/dataclasses.py | |
parent | 0708437ad043657f992cb985fd5c37e1ac052f93 (diff) | |
download | cpython-8ec6486462b920ab92ecb685a79fc3446681e1b8.zip cpython-8ec6486462b920ab92ecb685a79fc3446681e1b8.tar.gz cpython-8ec6486462b920ab92ecb685a79fc3446681e1b8.tar.bz2 |
gh-103027: Update `dataclass.make_dataclass` docstring (gh-103028)
* gh-103027: Update `dataclass.make_dataclass` docstring
Diffstat (limited to 'Lib/dataclasses.py')
-rw-r--r-- | Lib/dataclasses.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py index e3fd0b3..0e04469 100644 --- a/Lib/dataclasses.py +++ b/Lib/dataclasses.py @@ -1421,8 +1421,11 @@ def make_dataclass(cls_name, fields, *, bases=(), namespace=None, init=True, For the bases and namespace parameters, see the builtin type() function. - The parameters init, repr, eq, order, unsafe_hash, and frozen are passed to - dataclass(). + The parameters init, repr, eq, order, unsafe_hash, frozen, match_args, kw_only, + slots, and weakref_slot are passed to dataclass(). + + If module parameter is defined, the '__module__' attribute of the dataclass is + set to that value. """ if namespace is None: |