From 966463adfa4faaa132362adef032daf18eec64fe Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Mon, 20 May 2024 18:34:57 -0400 Subject: [PATCH] gh-108267 Fix another dataclasses docs typo (#119277) --- Doc/library/dataclasses.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index 7aa754c9ccc0a14..045bf6277289d84 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: