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
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.
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/
The text was updated successfully, but these errors were encountered: