Skip to content

Session 3: decorators, explanations #12

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

Open
timskovjacobsen opened this issue Oct 13, 2020 · 0 comments
Open

Session 3: decorators, explanations #12

timskovjacobsen opened this issue Oct 13, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@timskovjacobsen
Copy link
Contributor

timskovjacobsen commented Oct 13, 2020

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/

@timskovjacobsen timskovjacobsen added the enhancement New feature or request label Oct 13, 2020
@timskovjacobsen timskovjacobsen changed the title Session 3: decorators Session 3: decorators, explanations Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant