/usr/lib/python2.7/site-packages/urllib3/packages/backports
NameSizeModeActions
makefile.py14560644editdlrm
makefile.pyc15950644editdlrm
makefile.pyo15420644editdlrm
__init__.py00644editdlrm
__init__.pyc1580644editdlrm
__init__.pyo1580644editdlrm
Edit: /usr/lib/python2.7/site-packages/urllib3/packages/backports/makefile.pyo (1542B)
 nf\c@s>dZddlZddlmZddddddZdS(s backports.makefile ~~~~~~~~~~~~~~~~~~ Backports the Python 3 ``socket.makefile`` method for use with anything that wants to create a "fake" socket object. iN(tSocketIOtrc Csxt|dddhks1td|fnd|k}d|kpM| }d|k}d} |ru| d7} n|r| d7} nt|| } |jd7_|d krd}n|dkrtj}n|dkr|std n| S|r|rtj| | |} n-|r7tj| |} ntj | |} |rS| Stj | |||} || _ | S( s: Backport of ``socket.makefile`` from Python 3.5. Rtwtbs&invalid mode %r (only r, w, b allowed)tiiis!unbuffered streams must be binaryN( tsett ValueErrorRt_makefile_refstNonetiotDEFAULT_BUFFER_SIZEtBufferedRWPairtBufferedReadertBufferedWritert TextIOWrappertmode( tselfRt bufferingtencodingterrorstnewlinetwritingtreadingtbinarytrawmodetrawtbufferttext((sG/usr/lib/python2.7/site-packages/urllib3/packages/backports/makefile.pytbackport_makefiles>           (t__doc__R tsocketRRR(((sG/usr/lib/python2.7/site-packages/urllib3/packages/backports/makefile.pyts