def format_signature(signature):
 terms = {'\n': '', '[source]': '', u'\xb6': ''}
 return replace_all(signature, terms)

def format_signature ( signature ) : terms = { '\n' : '' , '[source]' : '' , u'\xb6' : '' } return replace_all ( signature , terms )
remove unwanted characters from the signature of various classes and methods .