

def __eq__(self, other):
    'Two nodes are equal if they have the same rdatasets.\n\n        @rtype: bool\n        '
    for rd in self.rdatasets:
        if (rd not in other.rdatasets):
            return False
    for rd in rd.rdatasets:
        if (rd not in self.rdatasets):
            return False
    return True

dataset/ETHPy150Open catap/namebench/nb_third_party/dns/node.py Node.__eq__/VarMisuse@43/83 `other`->`rd`