AlkantarClanX12

Your IP : 3.15.34.50


Current Path : /opt/alt/python37/lib64/python3.7/urllib/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/urllib/__pycache__/response.cpython-37.opt-2.pyc

B

YI~d��@sZddlZddddgZGdd�dej�ZGdd�de�ZGdd�de�ZGd	d�de�ZdS)
�N�addbase�addclosehook�addinfo�
addinfourlcs4eZdZ�fdd�Zdd�Zdd�Zdd�Z�ZS)	rcs tt|�j|ddd�||_dS)Nz<urllib response>F)�delete)�superr�__init__�fp)�selfr	)�	__class__��4/opt/alt/python37/lib64/python3.7/urllib/response.pyrszaddbase.__init__cCsd|jjt|�|jfS)Nz<%s at %r whose fp = %r>)r�__name__�id�file)r
rrr
�__repr__szaddbase.__repr__cCs|jjrtd��|S)NzI/O operation on closed file)r	�closed�
ValueError)r
rrr
�	__enter__szaddbase.__enter__cCs|��dS)N)�close)r
�type�value�	tracebackrrr
�__exit__!szaddbase.__exit__)r�
__module__�__qualname__rrrr�
__classcell__rr)rr
rscs(eZdZ�fdd�Z�fdd�Z�ZS)rcs tt|��|�||_||_dS)N)rrr�	closehook�hookargs)r
r	rr)rrr
r(szaddclosehook.__init__c	s>z(|j}|j}|r&d|_d|_||�Wdtt|���XdS)N)rrrrr)r
rr)rrr
r-szaddclosehook.close)rrrrrrrr)rr
r%scs$eZdZ�fdd�Zdd�Z�ZS)rcstt|��|�||_dS)N)rrr�headers)r
r	r)rrr
r<szaddinfo.__init__cCs|jS)N)r)r
rrr
�info@szaddinfo.info)rrrrr rrr)rr
r9scs.eZdZd�fdd�	Zdd�Zdd�Z�ZS)	rNcs"tt|��||�||_||_dS)N)rrr�url�code)r
r	rr!r")rrr
rGszaddinfourl.__init__cCs|jS)N)r")r
rrr
�getcodeLszaddinfourl.getcodecCs|jS)N)r!)r
rrr
�geturlOszaddinfourl.geturl)N)rrrrr#r$rrr)rr
rDs)Ztempfile�__all__Z_TemporaryFileWrapperrrrrrrrr
�<module>	s