risotto/src/risotto/utils.py
Emmanuel Garette aa04f19806 make a library
2022-03-11 18:39:32 +01:00

14 lines
240 B
Python

MULTI_FUNCTIONS = []
CONFIGS = {}
def _(s):
return s
def multi_function(function):
global MULTI_FUNCTIONS
name = function.__name__
if name not in MULTI_FUNCTIONS:
MULTI_FUNCTIONS.append(name)
return function