'Returns the signature
Args:
section: A section of parsed HTML that represents a definition of
a property or method
Returns:
The signature'

def parse_for_signature(self, section, titleName):

    h4 = section.find('h4', {'class': titleName})
    contents = []
    for e in h4.strings:
        contents.append(e)
    del contents[(-1)]
    del contents[(-1)]
    if h4.find('span', {'class': 'platform'}):
        del contents[0]
    if (len(h4.find_all('span', {'class': 'methodType'})) > 1):
        del contents[0]
    if contents:
        signature = ''
        for el in contents:
            signature += el
        return '<pre><code>{}</code></pre>'.format(self._format_output(signature))
    return ''
