ConstWeighting.__eq__

ConstWeighting.__eq__(self, other)[source]

Return self == other.

Returns
equalbool

True if other is a ConstWeighting instance with the same constant, False otherwise.