mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
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
This commit is contained in:
parent
46328d8ae6
commit
5a3f97291e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue