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

Skip to content

Commit 5a3f972

Browse files
authored
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
1 parent 46328d8 commit 5a3f972

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