Viewing File: /opt/alt/python-internal/lib64/python3.11/urllib/__pycache__/response.cpython-311.pyc
!A?h9 d Z ddlZg dZ G d dej Z G d de Z G d d e Z G d
de ZdS )a 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.
N)addbaseaddclosehookaddinfo
addinfourlc 4 e Zd ZdZ fdZd Zd Zd Z xZS )r zOBase class for addinfo and addclosehook. Is a good idea for garbage collection.c l t t | |dd || _ d S )Nz<urllib response>F)delete)superr __init__fp)selfr __class__s </opt/alt/python-internal/lib64/python3.11/urllib/response.pyr zaddbase.__init__ s4
g&&r+>u&MMM c R d| j j dt | d| j dS )N<z at z whose fp = >)r __name__idfiler
s r __repr__zaddbase.__repr__ s3 -1^-D-D-D-/XXXXtyyyB Br c <