environment/lib/python2.7/site-packages/IPython/parallel/util.py
def validate_url_container(container):
    """validate a potentially nested collection of urls."""
    if isinstance(container, basestring):
        url = container
        return validate_url(url)
    elif isinstance(container, dict):
        container = container.itervalues()
    
    for element in container:
        validate_url_container(element)
def validate_url_container(container):
    if isinstance(container, basestring):
        url = container
        return validate_url(url)
    elif isinstance(container, dict):
        container = container.itervalues()
    
    for element in container:
        validate_url_container(element)
def validate_url_container ( container ) : if isinstance ( container , basestring ) : url = container return validate_url ( url ) elif isinstance ( container , dict ) : container = container . itervalues ( ) for element in container : validate_url_container ( element )
validate a potentially nested collection of urls.
validate a potentially nested collection of urls .