mirror of https://github.com/balkian/keepit.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
177 B
Python
14 lines
177 B
Python
3 years ago
|
from keepit import keepit
|
||
|
|
||
|
ORIGIN = None
|
||
|
|
||
|
|
||
|
@keepit('myfunction')
|
||
|
def custom_function():
|
||
|
return ORIGIN
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
ORIGIN = 'main'
|
||
|
custom_function()
|