✏️ 正在编辑: _py_abc.cpython-38.opt-1.pyc
路径:
/lib64/python3.8/__pycache__/_py_abc.cpython-38.opt-1.pyc
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
U e5d- � @ 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/lib64/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>&