summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-20 22:53:32 (GMT)
committerGitHub <noreply@github.com>2024-05-20 22:53:32 (GMT)
commitd8fbe5b64aa4bc89d9804ee90e645294a7328e66 (patch)
tree5f09335d5b0726607bd7edeaa1b3938015eb056b
parent42a8d1175240f911727411a61d812b767203c133 (diff)
downloadcpython-d8fbe5b64aa4bc89d9804ee90e645294a7328e66.zip
cpython-d8fbe5b64aa4bc89d9804ee90e645294a7328e66.tar.gz
cpython-d8fbe5b64aa4bc89d9804ee90e645294a7328e66.tar.bz2
[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 423bbcbbc43cacfb6a217c04f890a47d3cf7c3a9) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
-rw-r--r--Doc/library/dataclasses.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 7aa754c..045bf62 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: