def __eq__(self, other):
    'Compare two objects (skip parent)'
    if (type(other) != type(self)):
        return False
    if (not super(LamSlotWind, self).__eq__(other)):
        return False
    if (other.Ksfill != self.Ksfill):
        return False
    if (other.winding != self.winding):
        return False
    return True
Compare two objects (skip parent)
def __eq__(self, other):
    
    if (type(other) != type(self)):
        return False
    if (not super(LamSlotWind, self).__eq__(other)):
        return False
    if (other.Ksfill != self.Ksfill):
        return False
    if (other.winding != self.winding):
        return False
    return True