Skip to content

Commit

Permalink
[3.13] gh-108267 Fix another dataclasses docs typo (GH-119277) (#119279)
Browse files Browse the repository at this point in the history
gh-108267 Fix another dataclasses docs typo (GH-119277)
(cherry picked from commit 423bbcb)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
miss-islington and AlexWaygood committed May 20, 2024
1 parent 42a8d11 commit d8fbe5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/dataclasses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,8 @@ methods will raise a :exc:`FrozenInstanceError` when invoked.
There is a tiny performance penalty when using ``frozen=True``:
:meth:`~object.__init__` cannot use simple assignment to initialize fields, and
must use :meth:`!object.__setattr__`.
.. Make sure to not remove "object" from "object.__setattr__" in the above markup

.. Make sure to not remove "object" from "object.__setattr__" in the above markup!
.. _dataclasses-inheritance:

Expand Down

0 comments on commit d8fbe5b

Please sign in to comment.