Created
April 14, 2020 07:14
-
-
Save shivankgtm/fcda67c39db585a863fa3f95c693b56c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@decorator2 | |
@decorator1 | |
def func(arg1, arg2, ...): | |
pass | |
#IS EQUIVALENT OF | |
def func(arg1, arg2, ...): | |
pass | |
func = decorator2(decorator1(func)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment