Last active
February 1, 2018 10:28
-
-
Save samhann/b1dbee623d025fca06fc33852dd4777b to your computer and use it in GitHub Desktop.
rough idea.py
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
def bottom_wrap(function,arguments): | |
is_in_call = false | |
new_func = def wrapper_func(arguments): | |
if is_in_call: | |
return arguments | |
else: | |
is_in_call = true | |
return function(arguments) | |
is_in_call=false | |
return new_func | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment