B ”äî\éã@sÈdZddlZyddlmZWn ek r<ddlmZYnXyddlmZWn ek rnddlmZYnXdZdej koˆdknZ dej ko¢d knZ e r°e Z dd d „Zdd d„ZdS)z0Compatibility module for Python 2 and 3 support.éN)Úquote)Ú urlencode)Úto_bytesÚto_strÚurlquoter)ér)ér)éé)r éúutf-8cCs"t|dƒrt|tƒs| |¡}|S)z0Ensure that b is text in the specified encoding.Údecode)ÚhasattrÚ isinstanceÚunicoder )ÚbÚencoding©rúB/tmp/pip-build-uw_ogi45/urllib3/urllib3/packages/rfc3986/compat.pyr+s rcCs"t|dƒrt|tƒs| |¡}|S)z6Ensure that s is converted to bytes from the encoding.Úencode)rrÚbytesr)Úsrrrrr2s r)r )r )Ú__doc__ÚsysÚ urllib.parserrÚ ImportErrorÚurllibrÚ__all__Ú version_infoÚPY3ÚPY2ÚstrrrrrrrrÚs