(func)
return func_wrapper
Decorate a method to return his return value as *ascii*.
Decorate a method to return his return value as *ascii*.
Decorate a method to return his return value as * ascii * .
def bytes_to_ascii(func):
    """Decorate a method to return his return value as *ascii*."""
    def func_wrapper(cls, *args, **kwargs):
        return utils.get_ascii_or_value(func(cls, *args, **kwargs))
    return func_wrapper
def bytes_to_ascii ( func ) : def func_wrapper ( cls , * args , * * kwargs ) : return utils . get_ascii_or_value ( func ( cls , * args , * * kwargs ) ) return func_wrapper