Skip to content

Return the value of a decorated function#104

Merged
kattrali merged 1 commit into
masterfrom
kattrali/return-wrapped-result
Sep 12, 2016
Merged

Return the value of a decorated function#104
kattrali merged 1 commit into
masterfrom
kattrali/return-wrapped-result

Conversation

@kattrali
Copy link
Copy Markdown
Contributor

When using the capture decorator, return the value of the wrapped function. Other behavior can cause some confusion due to changing the visible behavior of a function.

@kattrali kattrali merged commit c24cb63 into master Sep 12, 2016
@kattrali kattrali deleted the kattrali/return-wrapped-result branch September 12, 2016 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant