%PDF- %PDF-
Direktori : /snap/core20/2318/usr/lib/python3.8/__pycache__/ |
Current File : //snap/core20/2318/usr/lib/python3.8/__pycache__/_py_abc.cpython-38.pyc |
U k�]e- � @ 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 �/usr/lib/python3.8/_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| |||f|�}dd� |�� D �}|D ]:}t|dt� �D ]&}t||d �}t|dd�r>|�|� q>q,t|�|_t� |_ t� |_ t� |_tj |_|S )Nc S s h | ]\}}t |d d�r|�qS )�__isabstractmethod__F)�getattr)�.0�name�valuer r r � <setcomp>&