#NEWLINE# def _signature_doc( self , sig ) : #NEWLINE# #INDENT# 'Given a ensime CompletionSignature structure, returns a short\n        string suitable for showing in the help section of the completion\n        pop-up.' #NEWLINE# sections = sig . sections #NEWLINE# section_param_strs = [ [ param [ 1 ] for param in params ] for params in sections ] #NEWLINE# section_strs = [ ( ( '(' + ', ' . join ( tpes ) ) + ')' ) for tpes in section_param_strs ] #NEWLINE# return ( ( '' . join ( section_strs ) + ': ' ) + sig . result )