AlkantarClanX12

Your IP : 3.21.248.105


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

�
��f�c@sbdZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�Zd	S(
uResponse classes used by urllib.

The base class, addbase, defines a minimal file-like interface,
including read() and readline().  The typical response object is an
addinfourl instance, which defines an info() method that returns
headers and a geturl() method that returns the url.
cBsb|EeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dS(uaddbaseu(Base class for addinfo and addclosehook.cCs�||_|jj|_|jj|_t|jd�rK|jj|_nt|jd�ro|jj|_ndd�|_dS(Nu	readlinesufilenocSsdS(N(uNone(((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu<lambda>su"addbase.__init__.<locals>.<lambda>(ufpureadureadlineuhasattru	readlinesufileno(uselfufp((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu__init__s	uaddbase.__init__cCs
t|j�S(N(uiterufp(uself((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu__iter__suaddbase.__iter__cCs d|jjt|�|jfS(Nu<%s at %r whose fp = %r>(u	__class__u__name__uidufp(uself((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu__repr__#suaddbase.__repr__cCs\|jr|jj�nd|_d|_d|_d|_d|_d|_d|_dS(N(	ufpucloseuNoneureadureadlineu	readlinesufilenou__iter__u__next__(uself((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyuclose's							u
addbase.closecCs"|jdkrtd��n|S(NuI/O operation on closed file(ufpuNoneu
ValueError(uself((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu	__enter__2suaddbase.__enter__cCs|j�dS(N(uclose(uselfutypeuvalueu	traceback((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu__exit__7suaddbase.__exit__N(
u__name__u
__module__u__qualname__u__doc__u__init__u__iter__u__repr__ucloseu	__enter__u__exit__(u
__locals__((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyuaddbase	s
uaddbasecBs2|EeZdZdZdd�Zdd�ZdS(uaddclosehooku*Class to add a close hook to an open file.cGs&tj||�||_||_dS(N(uaddbaseu__init__u	closehookuhookargs(uselfufpu	closehookuhookargs((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu__init__=s	uaddclosehook.__init__cCs?|jr.|j|j�d|_d|_ntj|�dS(N(u	closehookuhookargsuNoneuaddbaseuclose(uself((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyucloseBs
		uaddclosehook.closeN(u__name__u
__module__u__qualname__u__doc__u__init__uclose(u
__locals__((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyuaddclosehook:suaddclosehookcBs2|EeZdZdZdd�Zdd�ZdS(uaddinfou.class to add an info() method to an open file.cCstj||�||_dS(N(uaddbaseu__init__uheaders(uselfufpuheaders((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu__init__Lsuaddinfo.__init__cCs|jS(N(uheaders(uself((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyuinfoPsuaddinfo.infoN(u__name__u
__module__u__qualname__u__doc__u__init__uinfo(u
__locals__((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyuaddinfoIsuaddinfocBsM|EeZdZdZd
dd�Zdd�Zdd�Zdd	�Zd
S(u
addinfourlu9class to add info() and geturl() methods to an open file.cCs/tj||�||_||_||_dS(N(uaddbaseu__init__uheadersuurlucode(uselfufpuheadersuurlucode((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu__init__Vs		uaddinfourl.__init__cCs|jS(N(uheaders(uself((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyuinfo\suaddinfourl.infocCs|jS(N(ucode(uself((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyugetcode_suaddinfourl.getcodecCs|jS(N(uurl(uself((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyugeturlbsuaddinfourl.geturlN(	u__name__u
__module__u__qualname__u__doc__uNoneu__init__uinfougetcodeugeturl(u
__locals__((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu
addinfourlSs
u
addinfourlN(u__doc__uobjectuaddbaseuaddclosehookuaddinfou
addinfourl(((u4/opt/alt/python33/lib64/python3.3/urllib/response.pyu<module>s1