usr/lib64/python3.6/__pycache__/nturl2path.cpython-36.pyc000064400000002735147204631320017017 0ustar003 \ @sdZddZddZdS)z3Convert a NT pathname to a file URL and vice versa.cCsddl}ddl}|jdd}d|kr\|dddkr@|dd}|jd}|jjd j|S|jd}t|dks|dd |jkrd |}t ||dd j }|d jd}|d}x$|D]}|r|d |jj|}qW|j do|j dr|d 7}|S)z{OS-specific conversion from a relative URL of the 'file' scheme to a file system path; not recommended for general use.N:|z/////\z Bad URL: r ) string urllib.parsereplacesplitparseZunquotejoinlenZ ascii_lettersOSErrorupperendswith)Zurlr urllib componentscomperrordrivepathr"/usr/lib64/python3.6/nturl2path.py url2pathnames(      rcCsddl}d|krD|dddkr(d|}|jd}|jjdj|S|jd}t|dksjt|ddkrzd |}t||jj|dj}|djd}d |d}x$|D]}|r|d|jj|}qW|S) z{OS-specific conversion from a file system path to a relative URL of the 'file' scheme; not recommended for general use.rNrrz\\rrrz Bad path: z///)r r rZquoterrrr)prrrrrrrrr pathname2url(s"    rN)__doc__rrrrrrs%