选择文件�文件大�最�修改时间�作
[📄] 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
a ´i-ã@s(ddlmZdd„ZGdd„deƒZdS)é)ÚWeakSetcCstjS)zûReturns the current ABC cache token. The token is an opaque object (supporting equality testing) identifying the current version of the ABC cache for virtual subclasses. The token changes with every call to ``register()`` on any ABC. )ÚABCMetaÚ_abc_invalidation_counter©rrú/usr/lib64/python3.9/_py_abc.pyÚget_cache_tokensrcsVeZdZdZdZ‡fdd„Zdd„Zddd „Zd d „Zd d „Z dd„Z dd„Z ‡Z S)rahMetaclass for defining Abstract Base Classes (ABCs). Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as 'virtual subclasses' -- these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won't show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()). rc  sštƒj||||fi|¤Ž}dd„| ¡Dƒ}|D]:}t|dtƒƒD]&}t||dƒ}t|ddƒrB| |¡qBq0t|ƒ|_tƒ|_ tƒ|_ tƒ|_ t j |_|S)NcSs h|]\}}t|ddƒr|’qS)Ú__isabstractmethod__F)Úgetattr)Ú.0ÚnameÚvaluerrrÚ &s þz"ABCMeta.__new__..Ú__abstractmethods__rF)ÚsuperÚ__new__Úitemsr ÚsetÚaddÚ frozensetrrÚ _abc_registryÚ _abc_cacheÚ_abc_negative_cacherrÚ_abc_negative_cache_version) Úmclsr ÚbasesÚ namespaceÚkwargsÚclsZ abstractsÚbaser ©Ú __class__rrr#sÿ   zABCMeta.__new__cCsPt|tƒstdƒ‚t||ƒr |St||ƒr2tdƒ‚|j |¡tjd7_|S)zsRegister a virtual subclass of an ABC. Returns the subclass, to allow usage as a class decorator. zCan only register classesz'Refusing to create an inheritance cycleé) Ú isinstanceÚtypeÚ TypeErrorÚ issubclassÚ RuntimeErrorrrrr)rÚsubclassrrrÚregister6s    zABCMeta.registerNcCs|td|j›d|j›�|d�tdtƒ›�|d�|jD]@}| d¡r6t||ƒ}t|tƒr`t |ƒ}t|›d|›�|d�q6dS)z'Debug helper to print the ABC registry.zClass: Ú.)ÚfilezInv. counter: Ú_abc_z: N) ÚprintÚ __module__Ú __qualname__rÚ__dict__Ú startswithr r"rr)rr*r r rrrÚ_dump_registryHs    zABCMeta._dump_registrycCs|j ¡dS)z.Clear the registry (for debugging or testing).N)rÚclear©rrrrÚ_abc_registry_clearSszABCMeta._abc_registry_clearcCs|j ¡|j ¡dS)z,Clear the caches (for debugging or testing).N)rr2rr3rrrÚ_abc_caches_clearWs zABCMeta._abc_caches_clearcsb|j}|ˆjvrdSt|ƒ}||urHˆjtjkr>|ˆjvr>dSˆ |¡St‡fdd„||fDƒƒS)z'Override for isinstance(instance, cls).TFc3s|]}ˆ |¡VqdS)N)Ú__subclasscheck__)r Úcr3rrÚ józ,ABCMeta.__instancecheck__..) r rr#rrrrr6Úany)rÚinstancer'Zsubtyperr3rÚ__instancecheck__\s ÿþ zABCMeta.__instancecheck__cCst|tƒstdƒ‚||jvr dS|jtjkr>tƒ|_tj|_n||jvrLdS|  |¡}|t ur€|rp|j  |¡n |j  |¡|S|t |ddƒvr |j  |¡dS|j D] }t||ƒr¦|j  |¡dSq¦| ¡D] }t||ƒrÐ|j  |¡dSqÐ|j  |¡dS)z'Override for issubclass(subclass, cls).z"issubclass() arg 1 must be a classTFÚ__mro__r)r"r#r$rrrrrrÚ__subclasshook__ÚNotImplementedrr rr%Ú__subclasses__)rr'ÚokZrclsZsclsrrrr6ls8               zABCMeta.__subclasscheck__)N) Ú__name__r-r.Ú__doc__rrr(r1r4r5r<r6Ú __classcell__rrrrrs  rN)Ú _weakrefsetrrr#rrrrrÚs