distances.py
def _nominal_distance(self, v1, v2):
        """
        Returns the distance between two nominal values.
        """
        return 0 if v1 == v2 else 1

        Returns the distance between two nominal values.
        
Returns the distance between two nominal values.
Returns the distance between two nominal values .
def _nominal_distance(self, v1, v2):
        return 0 if v1 == v2 else 1
def _nominal_distance ( self , v1 , v2 ) : return 0 if v1 == v2 else 1
Returns the distance between two nominal values.
Returns the distance between two nominal values .
"""
        Returns the distance between two nominal values.
        """
self
v1
v2