Skip to content

[3.11] gh-108267: Dataclasses docs: Fix object.__setattr__ typo (GH-108355) #108357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 23, 2023

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 [email protected]


📚 Documentation preview 📚: https://cpython-previews--108357.org.readthedocs.build/

…nGH-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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants