AlkantarClanX12

Your IP : 18.225.175.230


Current Path : /proc/self/root/opt/alt/python35/lib64/python3.5/urllib/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python35/lib64/python3.5/urllib/__pycache__/response.cpython-35.opt-2.pyc



���]��@s}ddlZddddgZGdd�dej�ZGdd�de�ZGdd�de�ZGd	d�de�ZdS)
�N�addbase�addclosehook�addinfo�
addinfourlcsFeZdZ�fdd�Zdd�Zdd�Zdd�Z�S)	rcs,tt|�j|ddd�||_dS)Nz<urllib response>�deleteF)�superr�__init__�fp)�selfr	)�	__class__��-/opt/alt/python35/lib64/python3.5/response.pyrszaddbase.__init__cCs d|jjt|�|jfS)Nz<%s at %r whose fp = %r>)r�__name__�id�file)r
rrr
�__repr__szaddbase.__repr__cCs|jjrtd��|S)NzI/O operation on closed file)r	�closed�
ValueError)r
rrr
�	__enter__szaddbase.__enter__cCs|j�dS)N)�close)r
�type�value�	tracebackrrr
�__exit__!szaddbase.__exit__)r�
__module__�__qualname__rrrrrr)rr
rscs4eZdZ�fdd�Z�fdd�Z�S)rcs,tt|�j|�||_||_dS)N)rrr�	closehook�hookargs)r
r	rr)rrr
r(s	zaddclosehook.__init__csSz8|j}|j}|r7d|_d|_||�Wdtt|�j�XdS)N)rrrrr)r
rr)rrr
r-s				zaddclosehook.close)rrrrrrr)rr
r%scs.eZdZ�fdd�Zdd�Z�S)rcs#tt|�j|�||_dS)N)rrr�headers)r
r	r)rrr
r<szaddinfo.__init__cCs|jS)N)r)r
rrr
�info@szaddinfo.info)rrrrrrr)rr
r9scs=eZdZd�fdd�Zdd�Zdd�Z�S)rNcs/tt|�j||�||_||_dS)N)rrr�url�code)r
r	rr r!)rrr
rGs	zaddinfourl.__init__cCs|jS)N)r!)r
rrr
�getcodeLszaddinfourl.getcodecCs|jS)N)r )r
rrr
�geturlOszaddinfourl.geturl)rrrrr"r#rr)rr
rDs)�tempfile�__all__�_TemporaryFileWrapperrrrrrrrr
�<module>	s