Create a Python function to parse an HTML to extract all links from the content.
Not applicable
from BeautifulSoup import BeautifulSoup

def parseHtml(html):
    soup = BeautifulSoup(html)
    links = []
    for link in soup.findAll('a'):
        links.append(link.get('href'))
    return links