| Server IP : 104.21.4.30 / Your IP : 104.23.197.109 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/zope/interface/__pycache__/ |
Upload File : |
U
ؒ�]�Z � @ s� d Z ddlmZ zddlmZ W n ek
r< dd� ZY nX ddlmZ ddlmZ ddlm Z dd lm
Z
dd
lmZ ddlmZ ddlm
Z
dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ G dd� de�Zdd� ZG dd� de�Zee
�G dd� de��Z dd � Z!d!d"� Z"d#d$� Z#d%d&� Z$ee
�G d'd(� d(e��Z%ee �G d)d*� d*e��Z&ee�G d+d,� d,e&��Z'ee�G d-d.� d.e&��Z(d/S )0zBasic components support
� )�defaultdict)�notifyc O s d S �N� )�arg�kwr r �9/usr/lib/python3/dist-packages/zope/interface/registry.pyr � r )�ISpecification)�ComponentLookupError)�IAdapterRegistration)�IComponents)�IHandlerRegistration)� ISubscriptionAdapterRegistration)�IUtilityRegistration)�
Registered)�Unregistered)� Interface)�
implementedBy)�implementer)�implementer_only)�
providedBy)�AdapterRegistry)�CLASS_TYPES)�STRING_TYPESc @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S )
�_UnhashableComponentCounterc C s dd� |� � D �| _d S )Nc S s g | ]}|�qS r r )�.0�itemr r r �
<listcomp>0 s z8_UnhashableComponentCounter.__init__.<locals>.<listcomp>)�items�_data)�selfZ otherdictr r r �__init__. s z$_UnhashableComponentCounter.__init__c C s$ | j D ]\}}||kr| S qdS �Nr )r )r! �key� component�countr r r �__getitem__2 s
z'_UnhashableComponentCounter.__getitem__c C sH t | j�D ](\}}|d |kr
||f| j|<