(tri, triangle_sizes)
return (triangle_sizes[tri], default_sort_key(objects))
Returns a key for the supplied triangle.  It should be the
        same independently of the hash randomisation.
Returns a key for the supplied triangle.  It should be the
        same independently of the hash randomisation.
Returns a key for the supplied triangle . It should be the same independently of the hash randomisation .
def _triangle_key(tri, triangle_sizes):
        """
        Returns a key for the supplied triangle.  It should be the
        same independently of the hash randomisation.
        """
        objects = sorted(
            DiagramGrid._triangle_objects(tri), key=default_sort_key)
        return (triangle_sizes[tri], default_sort_key(objects))
def _triangle_key ( tri , triangle_sizes ) : objects = sorted ( DiagramGrid . _triangle_objects ( tri ) , key = default_sort_key ) return ( triangle_sizes [ tri ] , default_sort_key ( objects ) )