

def stripwhitespace(url):
    html = url
    if checkurl(url):
        html = gethtml(url)
        if (not pat):
            return None
    pattern = '[^\\S\\n]{2,}'
    pat = re.compile(pattern, (re.IGNORECASE | re.DOTALL))
    html = pat.sub('', html)
    return html

dataset/ETHPy150Open miklevin/pipulate/common.py stripwhitespace/VarMisuse@32/38 `html`->`pat`