8000 bpo-43532: add version added to KW_ONLY by henryiii · Pull Request #31235 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-43532: add version added to KW_ONLY #31235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
bpo 43532: add version added to KW_ONLY
Minor missing version note mentioned in https://bugs.python.org/issue43532.
  • Loading branch information
henryiii authored Feb 9, 2022
commit 202f0bf71c9508b51f5824970485726466ebafd7
2 changes: 2 additions & 0 deletions Doc/library/dataclasses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,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

Expand Down
0