AlkantarClanX12

Your IP : 18.220.112.210


Current Path : /opt/alt/python310/lib64/python3.10/urllib/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/urllib/__pycache__/error.cpython-310.opt-2.pyc

o

6��fo	�@sT	ddlZddlZgd�ZGdd�de�ZGdd�deejj�ZGdd�de�Z	dS)	�N)�URLError�	HTTPError�ContentTooShortErrorc@seZdZddd�Zdd�ZdS)rNcCs$|f|_||_|dur||_dSdS�N)�args�reason�filename)�selfrr�r
�3/opt/alt/python310/lib64/python3.10/urllib/error.py�__init__s

�zURLError.__init__cCs
d|jS)Nz<urlopen error %s>)r�r	r
r
r�__str__s
zURLError.__str__r)�__name__�
__module__�__qualname__rrr
r
r
rrs
rc@sVeZdZ	ejjjZdd�Zdd�Zdd�Z	e
dd��Ze
d	d
��Zej
dd
��ZdS)
rcCsB||_||_||_||_||_|durt��}|�||||�dSr)�code�msg�hdrs�fpr�io�BytesIO�_HTTPError__super_init)r	Zurlrrrrr
r
rr'szHTTPError.__init__cC�d|j|jfS)NzHTTP Error %s: %s�rrr
r
r
rr1�zHTTPError.__str__cCr)Nz<HTTPError %s: %r>rr
r
r
r�__repr__4rzHTTPError.__repr__cC�|jSr)rr
r
r
rr9�zHTTPError.reasoncCrr�rr
r
r
r�headers=rzHTTPError.headerscCs
||_dSrr)r	r r
r
rr As
N)rrr�urllib�response�
addinfourlrrrr�propertyrr �setterr
r
r
rr#s



rc@seZdZ	dd�ZdS)rcCst�||�||_dSr)rr�content)r	�messager&r
r
rrHs
zContentTooShortError.__init__N)rrrrr
r
r
rrFsr)
rZurllib.responser!�__all__�OSErrorrr"r#rrr
r
r
r�<module>s#