You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
classes odds and ends could mention dataclasses #99908
"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?
Activity
ramvikrams commentedon Nov 30, 2022
i'll do that, but all you wan't is the updation of the example given there
pythongh-99908 Update class documentation to use a modernized example
pythongh-99908 Update class documentation to use a modernized example
pythongh-99908 Update class documentation to use a modernized example
pythongh-99908 Update class documentation to use a modernized example
pythongh-99908 Update class documentation to use a modernized example
pythongh-99908 Update class documentation to use a modernized example
gh-99908: Tutorial: Modernize the 'data-record class' example (#100499)
pythongh-99908: Tutorial: Modernize the 'data-record class' example (p…
pythongh-99908: Tutorial: Modernize the 'data-record class' example (p…
gh-99908: Tutorial: Modernize the 'data-record class' example (GH-100499
gh-99908: Tutorial: Modernize the 'data-record class' example (GH-100499
AlexWaygood commentedon Dec 24, 2022
Fixed on
main, and backported to 3.11 and 3.10. Thanks @JosephSBoyle!Merged main into regmachine branch (#50)