python (3.12.0)
̑e9 d dl Z g dZ G d de j Z G d de Z G d de Z G d d
e Zy) N)addbaseaddclosehookaddinfo
addinfourlc 2 e Zd Z fdZd Zd Zd Z xZS )r c @ t t | |dd || _ y )Nz<urllib response>F)delete)superr __init__fp)selfr __class__s C/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/urllib/response.pyr zaddbase.__init__ s!
g&r+>u&M c h d| j j dt | d| j dS )N<z at z whose fp = >)r __name__idfiler
s r __repr__zaddbase.__repr__ s( -1^^-D-D-/XtyyB Br c H | j j rt d | S )NzI/O operation on closed file)r closed
ValueErrorr s r __enter__zaddbase.__enter__ s 77>>;<<r c $ | j y N)close)r
typevalue tracebacks r __exit__zaddbase.__exit__! s
r )r
__module____qualname__r r r r#
__classcell__r s @r r r s Y
B
r r c * e Zd Z fdZ fdZ xZS )r c H t t | | || _ || _ y r )r
r r closehookhookargs)r
r r* r+ r s r r zaddclosehook.__init__( s
lD*2."
r c | j }| j }|rd | _ d | _ || t t | y # t t | w xY wr )r* r+ r
r r )r
r* r+ r s r r zaddclosehook.close- sN .I}}H!% $
8$,+-E,+-s -A A)r r$ r% r r r&