environment/lib/python2.7/site-packages/IPython/parallel/util.py
def disambiguate_url(url, location=None):
    """turn multi-ip interfaces '0.0.0.0' and '*' into connectable
    ones, based on the location (default interpretation is localhost).
    
    This is for zeromq urls, such as tcp://*:10101."""
    try:
        proto,ip,port = split_url(url)
    except AssertionError:
        # probably not tcp url; could be ipc, etc.
        return url
    
    ip = disambiguate_ip_address(ip,location)
    
    return "%s://%s:%s"%(proto,ip,port)
def disambiguate_url(url, location=None):
    """turn multi-ip interfaces '0.0.0.0' and '*' into connectable
    ones, based on the location (default interpretation is localhost).
    
    This is for zeromq urls, such as tcp://*:10101."""
    try:
        proto,ip,port = split_url(url)
    except AssertionError:
        # probably not tcp url; could be ipc, etc.
        return url
    
    ip = disambiguate_ip_address(ip,location)
    
    return "%s://%s:%s"%(proto,ip,port)
def disambiguate_url ( url , location = None ) : try : proto , ip , port = split_url ( url ) except AssertionError : # probably not tcp url; could be ipc, etc. return url ip = disambiguate_ip_address ( ip , location ) return "%s://%s:%s" % ( proto , ip , port )
turn multi-ip interfaces '0.0.0.0' and '*' into connectable
    ones, based on the location (default interpretation is localhost).
    
    This is for zeromq urls, such as tcp://*:10101.
turn multi - ip interfaces 0 . 0 . 0 . 0 and * into connectable ones based on the location ( default interpretation is localhost ) . This is for zeromq urls such as tcp : // * : 10101 .