Skip to content

Commit 431addd

Browse files
committed
Docs
1 parent 50b711c commit 431addd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/dataclasses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ Module contents
390390
:func:`!astuple` raises :exc:`TypeError` if *obj* is not a dataclass
391391
instance.
392392

393-
.. function:: make_dataclass(cls_name, fields, *, bases=(), namespace=None, init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False, match_args=True, kw_only=False, slots=False, weakref_slot=False, module=None)
393+
.. function:: make_dataclass(cls_name, fields, *, bases=(), namespace=None, init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False, match_args=True, kw_only=False, slots=False, weakref_slot=False, module=None, dataclass_factory=dataclass)
394394

395395
Creates a new dataclass with name *cls_name*, fields as defined
396396
in *fields*, base classes as given in *bases*, and initialized
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Add `dataclass_factory` argument to `make_dataclass`
1+
Add ``dataclass_factory`` argument to :func:`dataclasses.make_dataclass`.

0 commit comments

Comments
 (0)