
    01il                     L   S r SSKr SSKJr   SSKJr   SSKJ	r	  Sr
S\R                  s=:*  =(       a    S:  Os  rS	\R                  s=:*  =(       a    S
:  Os  r\(       a  \rSS jrSS jrg! \ a	    SSKJr   Npf = f! \ a	    SSKJr   N{f = f! \ a	    SSKJ	r	   Nf = f)z0Compatibility module for Python 2 and 3 support.    N)quote)	parse_qsl)	urlencode)to_bytesto_strurlquoter   r   )   r   )   r   )      )r      c                 t    [        U S5      (       a&  [        U [        5      (       d  U R                  U5      n U $ )z0Ensure that b is text in the specified encoding.decode)hasattr
isinstanceunicoder   )bencodings     H/home/james-whalen/.local/lib/python3.13/site-packages/rfc3986/compat.pyr   r   1   s.    q(Jq'$:$:HHXH    c                 t    [        U S5      (       a&  [        U [        5      (       d  U R                  U5      n U $ )z6Ensure that s is converted to bytes from the encoding.encode)r   r   bytesr   )sr   s     r   r   r   8   s.    q(Jq%$8$8HHXHr   )zutf-8)__doc__sysurllib.parser   r   ImportErrorurllibr   urlparser   __all__version_infoPY3PY2strr   r   r    r   r   <module>r'      s    7 
).#&!&   ))6)  ))6) GI  )()
  #"#
  ! !s3   A0 B B 0A?>A?BBB#"B#