View file File name : macurl2path.cpython-36.opt-2.pyc Content :3 \� � @ s4 d dl Zd dlZddgZdd� Zdd� Zdd� ZdS )� N�url2pathname�pathname2urlc C st t jj| �d }|r$|dkr$td��| d d� dkrB| dd � } n| d d� dkrZtd��| jd�}d}x�|t|�k �r|| d kr�||= qj|| d kr�|dkr�||d dkr�||d |d �= |d }qj|| dkr�|dkr�||d dkr�||= qj|d }qjW |d �s"d j|dd � �}nFd}x2|t|�k �rX|| d k�rXd||<