Skip to content

Session 3: decorators, explanations #12

Open
@timskovjacobsen

Description

@timskovjacobsen

The decorator section and exercises currently only contains wrapper functions that print stuff.

There should be an example of a wrapper function that returns something. Or, at the very least, an explanation that a return is needed if one want the decorated function to return anything other than ´None.

A good reference: https://realpython.com/primer-on-python-decorators/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions