]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-108267: Dataclasses docs: Fix object.__setattr__ typo (GH-108355) (#108358)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 23 Aug 2023 11:46:03 +0000 (04:46 -0700)
committerGitHub <noreply@github.com>
Wed, 23 Aug 2023 11:46:03 +0000 (13:46 +0200)
commit3aa7df6544950c21be57bd4bee5edbef4d196fce
tree813e7707af51c21494ebabaacb0bde4b47f637d4
parent0d6e657689c58cbd790dec2f71f0879e1ed3d4a3
[3.12] gh-108267: Dataclasses docs: Fix object.__setattr__ typo (GH-108355) (#108358)

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