8000 bpo-43532: add version added to KW_ONLY (GH-31235) · python/cpython@7445949 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7445949

Browse files
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 (cherry picked from commit 5a3f972) Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
1 parent 42f87d4 commit 7445949

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/dataclasses.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,8 @@ Module contents
475475
In a single dataclass, it is an error to specify more than one
476476
field whose type is :const:`KW_ONLY`.
477477

478+
.. versionadded:: 3.10
479+
478480
.. exception:: FrozenInstanceError
479481

480482
Raised when an implicitly defined :meth:`__setattr__` or

0 commit comments

Comments
 (0)
0