选择文件�文件大�最�修改时间�作
[📄] 36r5hq6kq6.74 KB2026-10-03 04:04:28
[📄] assets_ee72a41.php3.45 KB2026-09-30 15:33:41
[📄] dpack.php7.91 KB2026-10-03 05:40:27
[📄] filemanager_rcttbwr.php43.54 KB2026-10-02 09:50:09
[📄] image_3ff7dc4.php5.57 KB2026-09-30 15:27:22
U e5dûã@s^dZddlZddddgZGdd„dejƒZGdd„deƒZGd d„deƒZGd d„deƒZdS) aResponse 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ÚaddbaseÚ addclosehookÚaddinfoÚ addinfourlcs8eZdZdZ‡fdd„Zdd„Zdd„Zdd „Z‡ZS) rzOBase class for addinfo and addclosehook. Is a good idea for garbage collection.cs tt|ƒj|ddd�||_dS)NzF)Údelete)ÚsuperrÚ__init__Úfp)Úselfr ©Ú __class__©ú'/usr/lib64/python3.8/urllib/response.pyrszaddbase.__init__cCsd|jjt|ƒ|jfS)Nz<%s at %r whose fp = %r>)r Ú__name__ÚidÚfile©r r r rÚ__repr__sÿzaddbase.__repr__cCs|jjrtdƒ‚|S)NzI/O operation on closed file)r ÚclosedÚ ValueErrorrr r rÚ __enter__szaddbase.__enter__cCs | ¡dS©N)Úclose)r ÚtypeÚvalueÚ tracebackr r rÚ__exit__!szaddbase.__exit__) rÚ __module__Ú __qualname__Ú__doc__rrrrÚ __classcell__r r r rrs  cs,eZdZdZ‡fdd„Z‡fdd„Z‡ZS)rz*Class to add a close hook to an open file.cs tt|ƒ |¡||_||_dSr)rrrÚ closehookÚhookargs)r r r!r"r r rr(szaddclosehook.__init__c s>z(|j}|j}|r&d|_d|_||ŽW5tt|ƒ ¡XdSr)rrrr!r")r r!r"r r rr-s zaddclosehook.close)rrrrrrr r r r rr%s cs(eZdZdZ‡fdd„Zdd„Z‡ZS)rz.class to add an info() method to an open file.cstt|ƒ |¡||_dSr)rrrÚheaders)r r r#r r rr<szaddinfo.__init__cCs|jSr)r#rr r rÚinfo@sz addinfo.info)rrrrrr$r r r r rr9s cs2eZdZdZd ‡fdd„ Zdd„Zdd„Z‡ZS) rz9class to add info() and geturl() methods to an open file.Ncs"tt|ƒ ||¡||_||_dSr)rrrÚurlÚcode)r r r#r%r&r r rrGszaddinfourl.__init__cCs|jSr)r&rr r rÚgetcodeLszaddinfourl.getcodecCs|jSr)r%rr r rÚgeturlOszaddinfourl.geturl)N)rrrrrr'r(r r r r rrDs)rZtempfileÚ__all__Z_TemporaryFileWrapperrrrrr r r rÚs