ok

Mini Shell

Direktori : /lib/python3.6/site-packages/zope/component/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/zope/component/__pycache__/persistentregistry.cpython-36.pyc

3

,�W6�@sfdZddlmZddlmZddlmZddlmZddl	m
Z
Gdd�dee�ZGd	d
�d
e
�ZdS)zPersistent component managers
�)�
Persistent)�PersistentMapping)�PersistentList)�VerifyingAdapterRegistry)�
Componentscs4eZdZ�fdd�Z�fdd�Z�fdd�Z�ZS)�PersistentAdapterRegistrycs"||krd|_tt|�j|�dS)NT)Z
_p_changed�superr�changed)�selfZoriginally_changed)�	__class__��(/usr/lib/python3.6/persistentregistry.pyr	sz!PersistentAdapterRegistry.changedcs>tt|�j�j�}x|jD]}|j|d�qW|jdd�|S)NrZro)rr�__getstate__�copyZ
_delegated�pop)r
�state�name)rrr
rs
z&PersistentAdapterRegistry.__getstate__cs:|jdf�}tt|�j|�|j�||_|jj|�dS)N�	__bases__)rrr�__setstate__Z
_createLookuprZ	_v_lookupr	)r
r�bases)rrr
r$s
z&PersistentAdapterRegistry.__setstate__)�__name__�
__module__�__qualname__r	rr�
__classcell__rr)rr
rsrc@seZdZdd�Zdd�ZdS)�PersistentComponentscCst�|_t�|_dS)N)rZadaptersZ	utilities)r
rrr
�_init_registries.sz%PersistentComponents._init_registriescCs$t�|_t�|_t�|_t�|_dS)N)rZ_utility_registrationsZ_adapter_registrationsrZ_subscription_registrationsZ_handler_registrations)r
rrr
�_init_registrations2sz(PersistentComponents._init_registrationsN)rrrrrrrrr
r,srN)
�__doc__Z
persistentrZpersistent.mappingrZpersistent.listrZzope.interface.adapterrZzope.interface.registryrrrrrrr
�<module>s

Zerion Mini Shell 1.0