code: def Similarity(self, value=None):  # pylint: disable=C0103
          
          if value is None:
              value = 0.0
          return Similarity(value, threshold=self.threshold)
docs: Constructor for new default Similarities.