Your IP : 3.145.108.87
a
R�f- � @ s( d dl mZ dd� ZG dd� de�ZdS )� )�WeakSetc C s t jS )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� r r �,/opt/alt/python39/lib64/python3.9/_py_abc.py�get_cache_token s r c sV e Zd ZdZdZ� fdd�Zdd� Zddd �Zd
d� Zdd
� Z dd� Z
dd� Z� ZS )r ah 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()).
r c s� t � j| |||fi |��}dd� |�� D �}|D ]:}t|dt� �D ]&}t||d �}t|dd�rB|�|� qBq0t|�|_t� |_ t� |_
t� |_tj
|_|S )Nc S s h | ]\}}t |d d�r|�qS )�__isabstractmethod__F)�getattr)�.0�name�valuer r r � <setcomp>&