AlkantarClanX12

Your IP : 18.223.237.218


Current Path : /proc/self/root/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/
Upload File :
Current File : //proc/self/root/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/misc.pyc

�
��abc@s�dZddlZddlZdddgZyddlmZWnek
r`ed�ZnXy
eZWn*e	k
r�ddl
mZd	�ZnXy
ejZWne
k
r�d
�ZnXdS(s/Backports for individual classes and functions.i����Ntcache_from_sourcetcallabletfsencode(RcCs|rdpd}||S(Ntcto((tpy_filetdebugtext((sF/usr/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/misc.pyRs(tCallablecCs
t|t�S(N(t
isinstanceR(tobj((sF/usr/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/misc.pyRscCsRt|t�r|St|t�r5|jtj��Stdt|�j��dS(Nsexpect bytes or str, not %s(	R	tbyteststrtencodetsystgetfilesystemencodingt	TypeErrorttypet__name__(tfilename((sF/usr/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/misc.pyR"s(t__doc__tosRt__all__timpRtImportErrort	__debug__Rt	NameErrortcollectionsRRtAttributeError(((sF/usr/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/misc.pyt<module>s