ok

Mini Shell

Direktori : /usr/lib64/python3.6/urllib/__pycache__/
Upload File :
Current File : //usr/lib64/python3.6/urllib/__pycache__/error.cpython-36.opt-2.pyc

3


 \Q
�@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.6/urllib/error.py�__init__szURLError.__init__cCs
d|jS)Nz<urlopen error %s>)r)rr	r	r
�__str__szURLError.__str__)N)�__name__�
__module__�__qualname__rrr	r	r	r
rs
c@sTeZdZejjjZdd�Zdd�Zdd�Z	e
dd��Ze
d	d
��Zej
dd
��ZdS)
rcCs:||_||_||_||_||_|dk	r6|j||||�dS)N)�code�msg�hdrs�fpr�_HTTPError__super_init)rZurlrrrrr	r	r
r'szHTTPError.__init__cCsd|j|jfS)NzHTTP Error %s: %s)rr)rr	r	r
r4szHTTPError.__str__cCsd|j|jfS)Nz<HTTPError %s: %r>)rr)rr	r	r
�__repr__7szHTTPError.__repr__cCs|jS)N)r)rr	r	r
r<szHTTPError.reasoncCs|jS)N)r)rr	r	r
�headers@szHTTPError.headerscCs
||_dS)N)r)rrr	r	r
rDsN)r
rr�urllib�response�
addinfourlrrrr�propertyrr�setterr	r	r	r
r#s

c@seZdZdd�ZdS)rcCstj||�||_dS)N)rr�content)r�messagerr	r	r
rKszContentTooShortError.__init__N)r
rrrr	r	r	r
rIs)	Zurllib.responser�__all__�OSErrorrrrrrr	r	r	r
�<module>s
&

Zerion Mini Shell 1.0