https://github.com/python/cpython/commit/423bbcbbc43cacfb6a217c04f890a47d3cf7c3a9 commit: 423bbcbbc43cacfb6a217c04f890a47d3cf7c3a9 branch: main author: Alex Waygood <[email protected]> committer: AlexWaygood <[email protected]> date: 2024-05-20T22:34:57Z summary:
gh-108267 Fix another dataclasses docs typo (#119277) files: M Doc/library/dataclasses.rst diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index 7aa754c9ccc0a1..045bf6277289d8 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: _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
