#NEWLINE# def function_label( function ) : #NEWLINE# #INDENT# ' Provide a label for a function\n\n    :param function: A member from the glue.config.link_function registry\n    ' #NEWLINE# name = function . function . __name__ #NEWLINE# args = getargspec ( function . function ) [ 0 ] #NEWLINE# args = ', ' . join ( args ) #NEWLINE# output = function . output_labels #NEWLINE# output = ', ' . join ( output ) #NEWLINE# label = ( 'Link from %s to %s' % ( args , output ) ) #NEWLINE# return label