summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Schreiner <HenrySchreinerIII@gmail.com>2022-02-09 20:56:10 (GMT)
committerGitHub <noreply@github.com>2022-02-09 20:56:10 (GMT)
commit5a3f97291eea96037cceee097ebc00bba44bc9ed (patch)
tree5988d49c2ad0f677c1633a93b3ee3beb1fc45107
parent46328d8ae6529db916ccaabb9247fb0327ce0c1e (diff)
downloadcpython-5a3f97291eea96037cceee097ebc00bba44bc9ed.zip
cpython-5a3f97291eea96037cceee097ebc00bba44bc9ed.tar.gz
cpython-5a3f97291eea96037cceee097ebc00bba44bc9ed.tar.bz2
bpo-43532: add version added to KW_ONLY (GH-31235)
Minor missing version note mentioned at the end of (and affected me independently before reading that note). Automerge-Triggered-By: GH:ericvsmith
-rw-r--r--Doc/library/dataclasses.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 0bac594..0f6985f 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -475,6 +475,8 @@ Module contents
In a single dataclass, it is an error to specify more than one
field whose type is :const:`KW_ONLY`.
+ .. versionadded:: 3.10
+
.. exception:: FrozenInstanceError
Raised when an implicitly defined :meth:`__setattr__` or