code: def function(fname):
      
      def _f(func):
          class WrapFunction(Function):
              name = fname
  
              def __call__(self, *args, **kwargs):
                  return func(*args, **kwargs)
  
          return WrapFunction
  
      return _f
docs: Make a function to Function class