Your IP : 3.145.65.133


Current Path : /usr/lib64/python3.8/urllib/__pycache__/
Upload File :
Current File : //usr/lib64/python3.8/urllib/__pycache__/error.cpython-38.opt-2.pyc

U

e5dH
�@sLddlZdddgZGdd�de�ZGdd�deejj�ZGdd�de�ZdS)�N�URLError�	HTTPError�ContentTooShortErrorc@seZdZddd�Zdd�ZdS)rNcCs |f|_||_|dk	r||_dS�N)�args�reason�filename)�selfrr�r
�$/usr/lib64/python3.8/urllib/error.py�__init__szURLError.__init__cCs
d|jS)Nz<urlopen error %s>)r�r	r
r
r�__str__szURLError.__str__)N)�__name__�
__module__�__qualname__rrr
r
r
rrs
c@sTeZdZejjjZdd�Zdd�Zdd�Z	e
dd��Ze
d	d
��Zej
dd
��ZdS)
rcCs:||_||_||_||_||_|dk	r6|�||||�dSr)�code�msg�hdrs�fpr�_HTTPError__super_init)r	Zurlrrrrr
r
rr'szHTTPError.__init__cCsd|j|jfS)NzHTTP Error %s: %s�rrr
r
r
rr4szHTTPError.__str__cCsd|j|jfS)Nz<HTTPError %s: %r>rr
r
r
r�__repr__7szHTTPError.__repr__cCs|jSr)rr
r
r
rr<szHTTPError.reasoncCs|jSr�rr
r
r
r�headers@szHTTPError.headerscCs
||_dSrr)r	rr
r
rrDsN)rrr�urllib�response�
addinfourlrrrr�propertyrr�setterr
r
r
rr#s



c@seZdZdd�ZdS)rcCst�||�||_dSr)rr�content)r	�messager r
r
rrKszContentTooShortError.__init__N)rrrrr
r
r
rrIs)	Zurllib.responser�__all__�OSErrorrrrrrr
r
r
r�<module>s
&

?>