Skip to content

Add func call to Nesting a Decorator Within a Function #192

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

Merged
merged 1 commit into from
Oct 19, 2019
Merged

Add func call to Nesting a Decorator Within a Function #192

merged 1 commit into from
Oct 19, 2019

Conversation

emheld
Copy link
Contributor

@emheld emheld commented Feb 19, 2019

'Nesting a Decorator Within a Function' code does not ever actually call the func,
so this commit adds execution and returns the wrapped function result when tagged with decorator.

'Nesting a Decorator Within a Function' code does not ever actually call the func,
so this commit adds execution and returns the wrapped function result when tagged with decorator.
@Rundong-Li
Copy link

that's a good fix! Thanks!

@yasoob yasoob merged commit a8834de into yasoob:master Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
close