Your IP : 18.223.159.143
�
e fI � @ sC d d l m Z d g Z Gd d � d � Z Gd d � d � Z d S)� )�ref�WeakSetc @ s4 e Z d Z d d � Z d d � Z d d � Z d S)�_IterationGuardc C s t | � | _ d S)N)r �
weakcontainer)�selfr � r �0/opt/alt/python34/lib64/python3.4/_weakrefset.py�__init__ s z_IterationGuard.__init__c C s/ | j � } | d k r+ | j j | � n | S)N)r �
_iterating�add)r �wr r r � __enter__ s z_IterationGuard.__enter__c C sH | j � } | d k rD | j } | j | � | sD | j � qD n d S)N)r r
�remove�_commit_removals)r �e�t�br �sr r r �__exit__ s
z_IterationGuard.__exit__N)�__name__�
__module__�__qualname__r r
r r r r r r
s r c @ s� e Z d Z d d d � Z d d � Z d d � Z d d � Z d
d � Z d d
� Z d d � Z d d � Z
d d � Z d d � Z d d � Z
d d � Z d d � Z d d � Z d d � Z e Z d d! � Z d"