def urldefrag(url):
    if '#' in url:
        s, n, p, a, q, frag = urlparse(url)
        defrag = urlunparse((s, n, p, a, q, ''))
        return defrag, frag
    else:
        return url, ''
True if this object is specified including one or more dag parents
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/lib/urlparse.py/urldefrag--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/util/nameparse.py/MayaObjectName.isAttributeName