diff options
| author | Erik De Bonte <erikd@microsoft.com> | 2022-12-05 19:35:43 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-05 19:35:43 -0800 |
| commit | 5c19050546e3e37a8889a0baa2954e1444e803d3 (patch) | |
| tree | dd755d4d9f2b6b70c0e1ef0ffa0fd1811996da63 /Doc | |
| parent | bed15f87eadc726122185cf41efcdda289f4a7b1 (diff) | |
| download | cpython-git-5c19050546e3e37a8889a0baa2954e1444e803d3.tar.gz | |
gh-99957: Add `frozen_default` parameter on `dataclass_transform` (#99958)
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/library/typing.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 94c9cb11f0..356f919a18 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -2575,6 +2575,10 @@ Functions and decorators assumed to be True or False if it is omitted by the caller. * ``kw_only_default`` indicates whether the ``kw_only`` parameter is assumed to be True or False if it is omitted by the caller. + * ``frozen_default`` indicates whether the ``frozen`` parameter is + assumed to be True or False if it is omitted by the caller. + + .. versionadded:: 3.12 * ``field_specifiers`` specifies a static list of supported classes or functions that describe fields, similar to ``dataclasses.field()``. * Arbitrary other keyword arguments are accepted in order to allow for |
