Skip to content

fixed decorator example - #93

Merged
yasoob merged 1 commit into
yasoob:masterfrom
FreekKalter:patch-1
Aug 26, 2015
Merged

fixed decorator example#93
yasoob merged 1 commit into
yasoob:masterfrom
FreekKalter:patch-1

Conversation

@FreekKalter

Copy link
Copy Markdown
Contributor

In the function to wrap, we print a string. In the decorator we return a string.
Better to change them both to returning a string, since you're printing what it returns.

In the function to wrap, we print a string. In the decorator we return a string.
Better to change them both to returning a string, since you're printing what it returns.
yasoob added a commit that referenced this pull request Aug 26, 2015
@yasoob
yasoob merged commit 626ff20 into yasoob:master Aug 26, 2015
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.

2 participants