File: //usr/lib/python3/dist-packages/zope/component/__pycache__/hooks.cpython-39.pyc
a
,�W� � @ s
d Z dZddlZddlZzddlmZ W n eyB dd� ZY n0 ddlmZ ddl m
Z
dd l mZ G d
d� de�Z
G dd
� d
ej�Ze� Zddd�Zdd� Zejdd� �Zddd�Zd dd�Zdd� Zdd� ZeZzddlmZ W n e� y� Y n
0 ee� dS )!zEHooks for getting and setting a site in the thread global namespace.
Zrestructuredtext� N)�removeSecurityProxyc C s | S �N� )�xr r �6/usr/lib/python3/dist-packages/zope/component/hooks.pyr s r )�getGlobalSiteManager)�ComponentLookupError)�IComponentLookupc @ s e Zd ZdZdd� Zdd� ZdS )�
read_propertyz�Descriptor for property-like computed attributes.
Unlike the standard 'property', this descriptor allows assigning a
value to the instance, shadowing the property getter function.
c C s
|| _ d S r ��func)�selfr r r r �__init__&