mirror of https://github.com/python/cpython
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
|
@ -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…
Reference in New Issue