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
classes odds and ends could mention dataclasses #99908
Labels
docs
Documentation in the Doc dir
Comments
i'll do that, but all you wan't is the updation of the example given there |
JosephSBoyle
pushed a commit
to JosephSBoyle/cpython
that referenced
this issue
Dec 22, 2022
JosephSBoyle
pushed a commit
to JosephSBoyle/cpython
that referenced
this issue
Dec 22, 2022
JosephSBoyle
pushed a commit
to JosephSBoyle/cpython
that referenced
this issue
Dec 22, 2022
JosephSBoyle
pushed a commit
to JosephSBoyle/cpython
that referenced
this issue
Dec 23, 2022
JosephSBoyle
pushed a commit
to JosephSBoyle/cpython
that referenced
this issue
Dec 24, 2022
JosephSBoyle
pushed a commit
to JosephSBoyle/cpython
that referenced
this issue
Dec 24, 2022
This was referenced Dec 24, 2022
AlexWaygood
added a commit
that referenced
this issue
Dec 24, 2022
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 24, 2022
…ythonGH-100499) (cherry picked from commit 00afa50) Co-authored-by: JosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This was referenced Dec 24, 2022
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 24, 2022
…ythonGH-100499) (cherry picked from commit 00afa50) Co-authored-by: JosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
miss-islington
added a commit
that referenced
this issue
Dec 24, 2022
) (cherry picked from commit 00afa50) Co-authored-by: JosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
miss-islington
added a commit
that referenced
this issue
Dec 24, 2022
) (cherry picked from commit 00afa50) Co-authored-by: JosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Fixed on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gpshead commentedNov 30, 2022
•
edited by bedevere-bot
Documentation
https://docs.python.org/3/tutorial/classes.html#odds-and-ends
"Sometimes it is useful to have a data type similar to the Pascal “record” or C “struct”, bundling together a few named data items. An empty class definition will do nicely:"
This does not mention dataclasses but the use case it covers makes sense for that. Should the tutorial go there?
Linked PRs
class
documentation #100498The text was updated successfully, but these errors were encountered: