human
I wrote the below code

    def wrapper(self):
        result = func(self)
        if isinstance(result, unicode):
            return result.encode('utf-8')
        else:
            return result
    if is_py3:
        return func
    else:
        return wrapper

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def utf8_repr(func):