o
    ÷ÑÐbé  ã                   @   sÄ   d Z ddlZzddlmZ W n ey   ddlmZ Y nw zddlmZ W n ey5   ddlmZ Y nw dZdej	  koBdk n  Z
dej	  koOd	k n  Ze
rVeZddd„Zddd„ZdS )z0Compatibility module for Python 2 and 3 support.é    N)Úquote)Ú	urlencode)Úto_bytesÚto_strÚurlquoter   )é   r   )é   r   )é   é   )r	   é   úutf-8c                 C   ó"   t | dƒrt| tƒs|  |¡} | S )z0Ensure that b is text in the specified encoding.Údecode)ÚhasattrÚ
isinstanceÚunicoder   )ÚbÚencoding© r   ú^/var/www/secure340b-portal/env/lib/python3.10/site-packages/urllib3/packages/rfc3986/compat.pyr   +   ó   
r   c                 C   r   )z6Ensure that s is converted to bytes from the encoding.Úencode)r   r   Úbytesr   )Úsr   r   r   r   r   2   r   r   )r   )Ú__doc__ÚsysÚurllib.parser   r   ÚImportErrorÚurllibr   Ú__all__Úversion_infoÚPY3ÚPY2Ústrr   r   r   r   r   r   r   Ú<module>   s&   ÿÿ
