File: //opt/alt/python27/lib/python2.7/site-packages/future/backports/urllib/response.pyo
�
�A�[c @` s� d Z d d l m Z m Z m Z d d l m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d
e f d � � YZ
[ [ [ [ d S(
u Response 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.
i ( t absolute_importt divisiont unicode_literals( t objectt addbasec B` sD e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z RS( u( Base class for addinfo and addclosehook.c C` s | | _ | j j | _ | j j | _ t | j d � rK | j j | _ n t | j d � ro | j j | _ n d � | _ d S( Nu readlinesu filenoc S` s d S( N( t None( ( ( sQ /opt/alt/python27/lib/python2.7/site-packages/future/backports/urllib/response.pyt <lambda> t ( t fpt readt readlinet hasattrt readlinest fileno( t selfR ( ( sQ /opt/alt/python27/lib/python2.7/site-packages/future/backports/urllib/response.pyt __init__ s c C` s
t | j � S( N( t iterR ( R ( ( sQ /opt/alt/python27/lib/python2.7/site-packages/future/backports/urllib/response.pyt __iter__ s c C` s d | j j t | � | j f S( Nu <%s at %r whose fp = %r>( t __class__t __name__t idR ( R ( ( sQ /opt/alt/python27/lib/python2.7/site-packages/future/backports/urllib/response.pyt __repr__% s c C` s\ | j r | j j � n d | _ d | _ d | _ d | _ d | _ d | _ d | _ d S( N( R t closeR R R
R R
R t __next__( R ( ( sQ /opt/alt/python27/lib/python2.7/site-packages/future/backports/urllib/response.pyR ) s c C` s"