AlkantarClanX12

Your IP : 18.191.154.132


Current Path : /opt/alt/python33/lib64/python3.3/urllib/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/urllib/__pycache__/error.cpython-33.pyc

�
��f

c@spdZddlZdddgZGdd�de�ZGdd�deejj�ZGdd�de�Z	dS(	u�Exception classes raised by urllib.

The base exception class is URLError, which inherits from IOError.  It
doesn't define any behavior of its own, but is the base class for all
exceptions defined in this package.

HTTPError is an exception class that is also a valid HTTP response
instance.  It behaves this way because HTTP protocol errors are valid
responses, with a status code, headers, and a body.  In some contexts,
an application may want to handle an exception like a regular
response.
iNuURLErroru	HTTPErroruContentTooShortErrorcBs/|EeZdZddd�Zdd�ZdS(uURLErrorcCs1|f|_||_|dk	r-||_ndS(N(uargsureasonuNoneufilename(uselfureasonufilename((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyu__init__s	uURLError.__init__cCsd|jS(Nu<urlopen error %s>(ureason(uself((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyu__str__#suURLError.__str__N(u__name__u
__module__u__qualname__uNoneu__init__u__str__(u
__locals__((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyuURLErrorscBs_|EeZdZdZejjjZdd�Zdd�Z	e
dd��Zdd	�Zd
S(u	HTTPErroruBRaised when HTTP error occurs, but also acts like non-error returncCsV||_||_||_||_||_|dk	rR|j||||�ndS(N(ucodeumsguhdrsufpufilenameuNoneu_HTTPError__super_init(uselfuurlucodeumsguhdrsufp((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyu__init__*s					uHTTPError.__init__cCsd|j|jfS(NuHTTP Error %s: %s(ucodeumsg(uself((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyu__str__7suHTTPError.__str__cCs|jS(N(umsg(uself((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyureason<suHTTPError.reasoncCs|jS(N(uhdrs(uself((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyuinfo@suHTTPError.infoN(
u__name__u
__module__u__qualname__u__doc__uurlliburesponseu
addinfourlu__init__u_HTTPError__super_initu__str__upropertyureasonuinfo(u
__locals__((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyu	HTTPError&s
cBs |EeZdZdd�ZdS(uContentTooShortErrorcCstj||�||_dS(N(uURLErroru__init__ucontent(uselfumessageucontent((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyu__init__FsuContentTooShortError.__init__N(u__name__u
__module__u__qualname__u__init__(u
__locals__((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyuContentTooShortErrorEs(
u__doc__uurllib.responseuurllibu__all__uIOErroruURLErroruresponseu
addinfourlu	HTTPErroruContentTooShortError(((u1/opt/alt/python33/lib64/python3.3/urllib/error.pyu<module>s