Your IP : 18.119.133.168


Current Path : /opt/alt/python313/lib64/python3.13/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/__pycache__/nturl2path.cpython-313.pyc

�

1}gF	���SrSrSrg)z�Convert a NT pathname to a file URL and vice versa.

This module only exists to provide OS-specific code
for urllib.requests, thus do not use directly.
c��SSKnSSKnUSSS:XaUSSnOUSSS:XaUSSnUSSS:XaUS	SnURS
S5nSU;a+URR	URSS
55$URS5n[
U5S:wdUSSUR;aSU-n[U5eUSSR5nURR	US	RSS
55nUS
-U-$)zwOS-specific conversion from a relative URL of the 'file' scheme
to a file system path; not recommended for general use.�N��///��z//localhost/���:�|�/�\���z	Bad URL: )
�string�urllib.parse�replace�parse�unquote�split�len�
ascii_letters�OSError�upper)�urlr�urllib�comp�error�drive�tails       �1/opt/alt/python313/lib64/python3.13/nturl2path.py�url2pathnamer s�� �
�2�A�w�%���!�"�g��	�S�b��^�	#��"�#�h��
�2�A�w�%���!�"�g��

�+�+�c�3�
�C��#�:��|�|�#�#�C�K�K��T�$:�;�;��9�9�S�>�D�
�4�y�A�~��a����F�,@�,@�@��c�!���e�n����G�B�K����E��<�<����Q�����T� :�;�D��3�;����c�&�SSKnURSS5nUSSS:Xa<USSnUSSR5S:Xa	SUSS-nOUS	S
S:wa[SU-5eSU;aURRU5$UR
SS
S
9n[U5S
:wd[US5S	:�aSU-n[U5eURRUSR55nURRUS	5nSU-S-U-$)zwOS-specific conversion from a file system path to a relative URL
of the 'file' scheme; not recommended for general use.rNr
r�z//?/zUNC/z//r	rr
z
Bad path: )�maxsplitr)rrrrr�quoterr)�prrrrrs      r�pathname2urlr'*s���	
�	�	�$���A���!�u���
�a�b�E���R�a�5�;�;�=�F�"��q���u��A�
�q��V�s�]��,��*�+�+��!�8��|�|�!�!�!�$�$��7�7�3��7�#�D�
�4�y�A�~��T�!�W���)��q� ���e�n���L�L���t�A�w�}�}��/�E��<�<���d�1�g�&�D��5�=�3���%�%r!N)�__doc__r r'�r!r�<module>r*s��� �D&r!

?>