Skip to content
Closed
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
Prev Previous commit
Next Next commit
Fix version-changed note
  • Loading branch information
EpicWink committed Nov 21, 2019
commit 371a9bde25c5cccac106bb43a07ce38aaa24aa17
4 changes: 2 additions & 2 deletions Doc/library/dataclasses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ Module-level decorators, classes, and functions
:meth:`__init__`.

.. versionchanged:: 3.9
Non-defaulted fields following defaulted field used raise an
:exc:`TypeError`, but are now converted to keyword-only.
Non-defaulted fields following defaulted field used raise an
:exc:`TypeError`, but are now converted to keyword-only.

.. function:: field(*, default=MISSING, default_factory=MISSING, repr=True, hash=None, init=True, compare=True, metadata=None)

Expand Down