()
return DefaultVerifyPaths(cafile if os.path.isfile(cafile) else None,
                              capath if os.path.isdir(capath) else None,
                              *parts)
Return paths to default cafile and capath.
Return paths to default cafile and capath.
Return paths to default cafile and capath .
def get_default_verify_paths():
    """Return paths to default cafile and capath.
    """
    parts = _ssl.get_default_verify_paths()

    # environment vars shadow paths
    cafile = os.environ.get(parts[0], parts[1])
    capath = os.environ.get(parts[2], parts[3])

    return DefaultVerifyPaths(cafile if os.path.isfile(cafile) else None,
                              capath if os.path.isdir(capath) else None,
                              *parts)
def get_default_verify_paths ( ) : parts = _ssl . get_default_verify_paths ( ) # environment vars shadow paths cafile = os . environ . get ( parts [ 0 ] , parts [ 1 ] ) capath = os . environ . get ( parts [ 2 ] , parts [ 3 ] ) return DefaultVerifyPaths ( cafile if os . path . isfile ( cafile ) else None , capath if os . path . isdir ( capath ) else None , * parts )