multi_tools/functional/decorator.py
def _wrap(self, f: Union[FunctionType, MethodType]):
        """
        The function's wrapper.
        The actual 'decorator' that is applied to the
        decorated function.
        """
        # call _func with function to decorate / additional parameters, and return:
        return self._func(f, *self._args, **self._kwargs)

        The function's wrapper.
        The actual 'decorator' that is applied to the
        decorated function.
        
The function's wrapper.
The actual 'decorator' that is applied to the
decorated function.
The function ' s wrapper . The actual ' decorator ' that is applied to the decorated function .
def _wrap(self, f: Union[FunctionType, MethodType]):
        return self._func(f, *self._args, **self._kwargs)
def _wrap ( self , f : Union [ FunctionType , MethodType ] ) : return self . _func ( f , * self . _args , ** self . _kwargs )
The function's wrapper.
The function ' s wrapper .
"""
        The function's wrapper.
        The actual 'decorator' that is applied to the
        decorated function.
        """ # call _func with function to decorate / additional parameters, and return:
self
f
Union[FunctionType, MethodType]