Skip to content

Recursion issue in composite.py #1

Description

@mantomas

This part made me wondering why is it there during the Udemy course?
The price is already set as a property on line 16, calculated from item prices. If the setter is ever used it will end up in RecursionError so I think it can be completely removed (and addressed in the video) as the code is valid without it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions