[3.12] gh-108267: Dataclasses docs: Fix object.__setattr__ typo (GH-108355) by miss-islington · Pull Request #108358 · python/cpython · GitHub
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 79fdacc)

Co-authored-by: FrozenBob <30644137+FrozenBob@users.noreply.github.com>
  • Loading branch information
FrozenBob authored and miss-islington committed Aug 23, 2023
commit 3276d2b14c19de065ddfb8953509627dfea0d844
2 changes: 1 addition & 1 deletion Doc/library/dataclasses.rst