Skip to content

Make sure the function was called - #154

Merged
yasoob merged 3 commits into
yasoob:masterfrom
FaiChou:master
Nov 30, 2018
Merged

Make sure the function was called#154
yasoob merged 3 commits into
yasoob:masterfrom
FaiChou:master

Conversation

@FaiChou

@FaiChou FaiChou commented Dec 1, 2017

Copy link
Copy Markdown
Contributor

Make sure the function was called.

Make sure the function was called.
In class decorator, @decorator will call it once, and put the func into Class(func). So if wrote like this `@logit()`, it will call __call__ function.
@jpastuszuk

Copy link
Copy Markdown
Contributor

@yasoob Shouldn't this pull request be already closed / resolved?

@yasoob
yasoob merged commit e8aa372 into yasoob:master Nov 30, 2018
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.

3 participants