From: Alex Waygood Date: Mon, 20 May 2024 22:34:57 +0000 (-0400) Subject: gh-108267 Fix another dataclasses docs typo (#119277) X-Git-Tag: v3.14.0a1~1845 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=423bbcbbc43cacfb6a217c04f890a47d3cf7c3a9;p=thirdparty%2FPython%2Fcpython.git gh-108267 Fix another dataclasses docs typo (#119277) --- diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index 7aa754c9ccc0..045bf6277289 100644 --- a/Doc/library/dataclasses.rst +++ b/Doc/library/dataclasses.rst @@ -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: