????
| Current Path : /usr/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/rfc3986/ |
| Current File : //usr/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/rfc3986/compat.pyc |
� }�\]c @ s� d Z d d l Z y d d l m Z Wn! e k rI d d l m Z n Xy d d l m Z Wn! e k r� d d l m Z n Xd Z d e j k o� d k n Z d e j k o� d k n Z e r� e Z n d d � Z d d � Z d S( s0 Compatibility module for Python 2 and 3 support.i����N( t quote( t urlencodet to_bytest to_strt urlquoteR i i i i i i s utf-8c C s5 t | d � r1 t | t � r1 | j | � } n | S( s0 Ensure that b is text in the specified encoding.t decode( t hasattrt isinstancet unicodeR ( t bt encoding( ( sJ /tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/compat.pyR + s c C s5 t | d � r1 t | t � r1 | j | � } n | S( s6 Ensure that s is converted to bytes from the encoding.t encode( R R t bytesR ( t sR ( ( sJ /tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/compat.pyR 2 s ( s to_bytess to_strs urlquotes urlencode( i i ( i i ( i i ( i i ( t __doc__t syst urllib.parseR R t ImportErrort urllibR t __all__t version_infot PY3t PY2t strR R R ( ( ( sJ /tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/compat.pyt <module> s&