

def __eq__(self, other):
    if isinstance(other, Category):
        return (self.key == self.key)
    else:
        return False

dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/core/category.py Category.__eq__/VarMisuse@28/31 `other`->`self`