Skip to content
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

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

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 30644137+FrozenBob@users.noreply.github.com


📚 Documentation preview 📚: https://cpython-previews--108358.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 <30644137+FrozenBob@users.noreply.github.com>
@Yhg1s Yhg1s merged commit 3aa7df6 into python:3.12 Aug 23, 2023
@miss-islington miss-islington deleted the backport-79fdacc-3.12 branch August 23, 2023 11:46
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.

5 participants