'Retrieve the signatures to document from the directive arguments.  By
default, signatures are given as arguments, one per line.
Backslash-escaping of newlines is supported.'

def get_signatures(self):

    lines = nl_escape_re.sub('', self.arguments[0]).split('\n')
    return [strip_backslash_re.sub('\\1', line.strip()) for line in lines]
