8000 [3.13] gh-108267 Fix another dataclasses docs typo (GH-119277) (#119279) · python/cpython@d8fbe5b · GitHub
[go: up one dir, main page]

Skip to content

Commit d8fbe5b

Browse files
[3.13] gh-108267 Fix another dataclasses docs typo (GH-119277) (#119279)
gh-108267 Fix another dataclasses docs typo (GH-119277) (cherry picked from commit 423bbcb) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent 42a8d11 commit d8fbe5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/dataclasses.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,8 @@ methods will raise a :exc:`FrozenInstanceError` when invoked.
616616
There is a tiny performance penalty when using ``frozen=True``:
617617
:meth:`~object.__init__` cannot use simple assignment to initialize fields, and
618618
must use :meth:`!object.__setattr__`.
619-
.. Make sure to not remove "object" from "object.__setattr__" in the above markup
619+
620+
.. Make sure to not remove "object" from "object.__setattr__" in the above markup!
620621
621622
.. _dataclasses-inheritance:
622623

0 commit comments

Comments
 (0)
0