File manager - Edit - /usr/lib/python3/dist-packages/zope/interface/__pycache__/interfaces.cpython-310.pyc
Back
o $ x`7� � @ s d Z dZddlmZ ddlmZ ddlmZ g d�ZG dd� de�ZG d d � d e�Z G dd� de �Z G d d� de�ZG dd� dee�ZG dd� de�Z G dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Zee�G dd� de��ZG dd � d e�ZG d!d"� d"e�ZG d#d$� d$e�ZG d%d&� d&e�ZG d'd(� d(e�ZG d)d*� d*e�ZG d+d,� d,e�ZG d-d.� d.e�Zee�G d/d0� d0e��ZG d1d2� d2e�Z ee �G d3d4� d4e��Z!G d5d6� d6e�Z"ee"�G d7d8� d8e��Z#G d9d:� d:e�Z$G d;d<� d<ee$�Z%d=S )>zInterface Package Interfaces �restructuredtext� )� Attribute)� Interface)�implementer)�IAdapterRegistration�IAdapterRegistry� IAttribute�IComponentLookup�IComponentRegistry�IComponents�IDeclaration�IElement�IHandlerRegistration� IInterface�IInterfaceDeclaration�IMethod�IObjectEvent�IRegistered� IRegistration�IRegistrationEvent�ISpecification� ISubscriptionAdapterRegistration� IUnregistered�IUtilityRegistrationc @ s` e Zd ZdZedd�Z edd�Zdd� Zdd d �Zdd� Zd d� Zdd� Z ddd�Z dd� ZdS )r a� Objects that have basic documentation and tagged values. Known derivatives include :class:`IAttribute` and its derivative :class:`IMethod`; these have no notion of inheritance. :class:`IInterface` is also a derivative, and it does have a notion of inheritance, expressed through its ``__bases__`` and ordered in its ``__iro__`` (both defined by :class:`ISpecification`). �__name__zThe object name�__doc__zThe object doc stringc C � dS )a� Returns the value associated with *tag*. Raise a `KeyError` if the tag isn't set. If the object has a notion of inheritance, this searches through the inheritance hierarchy and returns the nearest result. If there is no such notion, this looks only at this object. .. versionchanged:: 4.7.0 This method should respect inheritance if present. N� ��tagr r �;/usr/lib/python3/dist-packages/zope/interface/interfaces.py�getTaggedValueR � zIElement.getTaggedValueNc C r )z� As for `getTaggedValue`, but instead of raising a `KeyError`, returns *default*. .. versionchanged:: 4.7.0 This method should respect inheritance if present. Nr �r �defaultr r r �queryTaggedValue_ r"