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
[tutorial/classes.html] odds and ends dataclasses sample code typo dataclasses #100633
Comments
|
@peterjpxie this would be a good first PR :) |
|
@ericvsmith Thanks for fixing it. |
|
I didn't fix it! I just assigned it to myself. If you want to produce a pull request, I'll commit it. |
AlexWaygood
pushed a commit
that referenced
this issue
Dec 31, 2022
import dataclass not dataclasses from dataclasses
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 31, 2022
import dataclass not dataclasses from dataclasses (cherry picked from commit 98308db) Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 31, 2022
import dataclass not dataclasses from dataclasses (cherry picked from commit 98308dbeb110198ebe28bdb7720d3671b3e7f57b) Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
|
This is now fixed on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


peterjpxie commentedDec 31, 2022
•
edited by bedevere-bot
Documentation
Open https://docs.python.org/3.12/tutorial/classes.html#odds-and-ends
There is a typo in the sample code.
import dataclassesshould beimport dataclass.It was introduced in this PR.
Linked PRs
The text was updated successfully, but these errors were encountered: