summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorErik De Bonte <erikd@microsoft.com>2022-12-06 03:35:43 (GMT)
committerGitHub <noreply@github.com>2022-12-06 03:35:43 (GMT)
commit5c19050546e3e37a8889a0baa2954e1444e803d3 (patch)
treedd755d4d9f2b6b70c0e1ef0ffa0fd1811996da63 /Doc/library
parentbed15f87eadc726122185cf41efcdda289f4a7b1 (diff)
downloadcpython-5c19050546e3e37a8889a0baa2954e1444e803d3.zip
cpython-5c19050546e3e37a8889a0baa2954e1444e803d3.tar.gz
cpython-5c19050546e3e37a8889a0baa2954e1444e803d3.tar.bz2
gh-99957: Add `frozen_default` parameter on `dataclass_transform` (#99958)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/typing.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 94c9cb1..356f919 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