Skip to content

03_inheritance_dataclasses.py does not demonstrate inheritance #32

@123Mismail

Description

@123Mismail

The file 03_inheritance_dataclasses.py is named and commented as if it demonstrates inheritance with dataclasses. However, both Person and Student are defined as standalone dataclasses without any inheritance relationship.

If the goal was to show inheritance in dataclasses, Student could inherit from Person to make the example more accurate and aligned with the filename and comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions