| Current File : //proc/self/root/lib/python3.6/site-packages/zope/component/__pycache__/hooks.cpython-36.pyc |
3
,�W� � @ s d Z dZddlZddlZyddlmZ W n ek
rD dd� ZY nX 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� ZeZyddlmZ W n ek
�r Y n
X ee� dS )!zEHooks for getting and setting a site in the thread global namespace.
Zrestructuredtext� N)�removeSecurityProxyc C s | S )N� )�xr r �/usr/lib/python3.6/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 )N)�func)�selfr
r r r �__init__&