Skip to content

Commit cdccafb

Browse files
[3.12] gh-108267 Fix another dataclasses docs typo (GH-119277) (#119280)
gh-108267 Fix another dataclasses docs typo (GH-119277) (cherry picked from commit 423bbcb) Co-authored-by: Alex Waygood <[email protected]>
1 parent f489911 commit cdccafb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/dataclasses.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,8 @@ methods will raise a :exc:`FrozenInstanceError` when invoked.
614614
There is a tiny performance penalty when using ``frozen=True``:
615615
:meth:`~object.__init__` cannot use simple assignment to initialize fields, and
616616
must use :meth:`!object.__setattr__`.
617-
.. Make sure to not remove "object" from "object.__setattr__" in the above markup
617+
618+
.. Make sure to not remove "object" from "object.__setattr__" in the above markup!
618619
619620
.. _dataclasses-inheritance:
620621

0 commit comments

Comments
 (0)