bpo-43532: add version added to KW_ONLY (GH-31235) · python/cpython@5a3f972

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 5a3f972

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

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)