ok

Mini Shell

Direktori : /lib64/python3.6/__pycache__/
Upload File :
Current File : //lib64/python3.6/__pycache__/macurl2path.cpython-36.opt-2.pyc

3


 \�
�@s4ddlZddlZddgZdd�Zdd�Zdd�ZdS)�N�url2pathname�pathname2urlcCsttjj|�d}|r$|dkr$td��|dd�dkrB|dd�}n|dd�dkrZtd��|jd�}d}x�|t|�k�r||d	kr�||=qj||d
kr�|dkr�||ddkr�||d|d�=|d}qj||dkr�|dkr�||ddkr�||=qj|d}qjW|d�s"d
j|dd��}nFd}x2|t|�k�rX||d
k�rXd||<|d}�q(Wd
d
j|�}tjj|�S)Nr�filez(Cannot convert non-local URL to pathname�z///�z//�/�.�..���:)rr	)�urllib�parseZ	splittype�RuntimeError�split�len�joinZunquote)�pathname�tp�
components�i�rv�r�#/usr/lib64/python3.6/macurl2path.pyr
s6

$
cCs�d|krtd��|jd�}|ddkr,|d=|ddkr>|d	=x(tt|��D]}||dkrLd||<qLWtt|�}tjj|�r�ddj	|�Sdj	|�SdS)
Nrz*Cannot convert pathname containing slashesrrrr
z..���r)
rr�ranger�map�_pncomp2url�os�path�isabsr)rrrrrrr4s

cCstjj|dd�dd�S)N�r)Zsafe)r
rZquote)Z	componentrrrrKsr)Zurllib.parser
r�__all__rrrrrrr�<module>s
*

Zerion Mini Shell 1.0