]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-108267: Dataclasses docs: Fix object.__setattr__ typo (GH-108355) (#108357)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 23 Aug 2023 07:20:57 +0000 (00:20 -0700)
committerGitHub <noreply@github.com>
Wed, 23 Aug 2023 07:20:57 +0000 (07:20 +0000)
commit1ecbe787dde59b3d021990dbf92680f0301977ce
treeebd0491654378c1d56acfbabc95f454f3f401b8e
parent1aff195903ca664b5285f7ac9e999347484d9d3b
[3.11] gh-108267: Dataclasses docs: Fix object.__setattr__ typo (GH-108355) (#108357)

gh-108267: Dataclasses docs: Fix object.__setattr__ typo (GH-108355)

Fixed a sentence in dataclasses.rst

Changed "__setattr__" to "object.__setattr__" in a section that was specifically supposed to refer to the __setattr__ method of the object class. Also suppressed the link to the data model docs for __setattr__, since we're talking about a specific __setattr__ implementation, not __setattr__ methods in general.
(cherry picked from commit 79fdacc0059a3959074d2d9d054653eae1dcfe06)

Co-authored-by: FrozenBob <30644137+FrozenBob@users.noreply.github.com>
Doc/library/dataclasses.rst