]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-108267: Dataclasses docs: Fix object.__setattr__ typo (#108355)
authorFrozenBob <30644137+FrozenBob@users.noreply.github.com>
Wed, 23 Aug 2023 07:11:15 +0000 (00:11 -0700)
committerGitHub <noreply@github.com>
Wed, 23 Aug 2023 07:11:15 +0000 (08:11 +0100)
commit79fdacc0059a3959074d2d9d054653eae1dcfe06
tree1ba001247c866db03071a703cb062e40c8021baa
parent64f99350351bc46e016b2286f36ba7cd669b79e3
gh-108267: Dataclasses docs: Fix object.__setattr__ typo (#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.
Doc/library/dataclasses.rst