Viewing File: /opt/alt/python35/lib/python3.5/site-packages/setuptools/__pycache__/py26compat.cpython-35.pyc



©‘\§ã@s«dZddlZyddlmZWn"ek
rJddlmZYnXdd„Zejd
krrdd	„Zydd
lm	Z	Wnek
r¦dd„Z	YnXdS)z2
Compatibility Support for Python 2.6 and earlier
éN)ÚsplittagcCst|ƒ\}}|S)zÄ
    In `Python 8280 <http://bugs.python.org/issue8280>`_, Python 2.7 and
    later was patched to disregard the fragment when making URL requests.
    Do the same for Python 2.6 and earlier.
    )r)ZurlZfragment©rú/py26compat.pyÚstrip_fragment
sréécCs|S)Nr)ÚxrrrÚ<lambda>sr	)Ú
import_modulecCst|ddgƒS)NÚfromlistÚ__name__)Ú
__import__)Úmodule_namerrrr
sr
)rr)
Ú__doc__ÚsysZurllib.parserÚImportErrorÚurllibrÚversion_infoÚ	importlibr
rrrrÚ<module>s



Back to Directory File Manager