]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-108267 Fix another dataclasses docs typo (#119277)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Mon, 20 May 2024 22:34:57 +0000 (18:34 -0400)
committerGitHub <noreply@github.com>
Mon, 20 May 2024 22:34:57 +0000 (22:34 +0000)
Doc/library/dataclasses.rst

index 7aa754c9ccc0a14b6ceb743c26ac0cf2b0875501..045bf6277289d840eb08a422ac9ffcf59862ec77 100644 (file)
@@ -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: