human
Here's a good function header given the following:
I wrote the below code

    if (not _PY3):
        return klass
    def __eq__(self, other):
        c = self.__cmp__(other)
        if (c is NotImplemented):
            return c
        return (c == 0)
    def __ne__(self, other):
        c = self.__cmp__(other)
        if (c is NotImplemented):
            return c
        return (c != 0)
    def __lt__(self, other):
        c = self.__cmp__(other)
        if (c is NotImplemented):
            return c
        return (c < 0)
    def __le__(self, other):
        c = self.__cmp__(other)
        if (c is NotImplemented):
            return c
        return (c <= 0)
    def __gt__(self, other):
        c = self.__cmp__(other)
        if (c is NotImplemented):
            return c
        return (c > 0)
    def __ge__(self, other):
        c = self.__cmp__(other)
        if (c is NotImplemented):
            return c
        return (c >= 0)
    klass.__lt__ = __lt__
    klass.__gt__ = __gt__
    klass.__le__ = __le__
    klass.__ge__ = __ge__
    klass.__eq__ = __eq__
    klass.__ne__ = __ne__
    return klass

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

def comparable(klass):