;
Κβ"Ic               @   s-   d  d l  m Z d g Z Gd   d  Z d S(   i    (   u   refu   WeakSetc             B   sC  |  Ee  Z d d   Z d   Z d   Z d   Z d   Z d   Z d   Z	 d   Z
 d   Z d	   Z d
   Z d   Z d   Z d   Z d   Z e Z d   Z d   Z d   Z e Z d   Z d   Z d   Z e Z d   Z d   Z e Z d   Z d   Z d   Z  e  Z! d   Z" d   Z# d   Z$ e$ Z% d   Z& d S(   c             C   sI   t    |  _ t |   d  } | |  _ | d  k	 o |  j |  n d  S(   Nc             S   s.   |   } | d  k	 o | j j |   n d  S(   N(   u   Noneu   datau   discard(   u   itemu   selfrefu   self(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   _remove   s    	(   u   setu   datau   refu   _removeu   Noneu   update(   u   selfu   datau   _remove(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __init__
   s
    	c             c   s7   x0 |  j  D]% } |   } | d  k	 o	 | Vq
 q
 Wd  S(   N(   u   datau   None(   u   selfu   itemrefu   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __iter__   s
    
 	c             C   s   t  d   |  j D  S(   Nc             s   s   |  ] } |   d  k	 Vq d  S(   N(   u   None(   u   .0u   x(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>   s    (   u   sumu   data(   u   self(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __len__   s    c             C   s   t  |  |  j k S(   N(   u   refu   data(   u   selfu   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __contains__   s    c             C   s%   |  j  t |   f t |  d d   f S(   Nu   __dict__(   u	   __class__u   listu   getattru   None(   u   self(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu
   __reduce__    s    c             C   s    |  j  j t | |  j   d  S(   N(   u   datau   addu   refu   _remove(   u   selfu   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   add$   s    c             C   s   |  j  j   d  S(   N(   u   datau   clear(   u   self(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   clear'   s    c             C   s   |  j  |   S(   N(   u	   __class__(   u   self(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   copy*   s    c             C   s[   xT y |  j  j   } Wn  t k
 o t d   Yn X|   } | d  k	 o | Sq d  S(   Nu   pop from empty WeakSet(   u   datau   popu   KeyErroru   None(   u   selfu   itemrefu   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   pop-   s    	c             C   s   |  j  j t |   d  S(   N(   u   datau   removeu   ref(   u   selfu   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   remove7   s    c             C   s   |  j  j t |   d  S(   N(   u   datau   discardu   ref(   u   selfu   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   discard:   s    c             C   sL   t  | |  j  o |  j j | j  n x | D] } |  j |  q1 Wd  S(   N(   u
   isinstanceu	   __class__u   datau   updateu   add(   u   selfu   otheru   element(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   update=   s
     c             C   s   |  j  |  |  S(   N(   u   update(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __ior__C   s    c             C   sN   t  | |  j  p |  j |  } n | | j  } |  j   } | | _ | S(   N(   u
   isinstanceu	   __class__u   data(   u   selfu   otheru   methodu   newdatau   newset(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   _applyH   s    	c             C   s   |  j  | |  j j  S(   N(   u   _applyu   datau
   difference(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu
   differenceP   s    c             C   s<   |  | k o |  j  j   n |  j  j d   | D  d  S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>X   s    (   u   datau   clearu   difference_update(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   difference_updateT   s    c             C   s<   |  | k o |  j  j   n |  j  j d   | D  |  S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>]   s    (   u   datau   clearu   difference_update(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __isub__Y   s    c             C   s   |  j  | |  j j  S(   N(   u   _applyu   datau   intersection(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   intersection`   s    c             C   s   |  j  j d   | D  d  S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>e   s    (   u   datau   intersection_update(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   intersection_updated   s    c             C   s   |  j  j d   | D  |  S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>g   s    (   u   datau   intersection_update(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __iand__f   s    c             C   s   |  j  j d   | D  S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>k   s    (   u   datau   issubset(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   issubsetj   s    c             C   s   |  j  t d   | D  k S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>o   s    (   u   datau   set(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __le__n   s    c             C   s   |  j  j d   | D  S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>r   s    (   u   datau
   issuperset(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu
   issupersetq   s    c             C   s   |  j  t d   | D  k S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>v   s    (   u   datau   set(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __ge__u   s    c             C   s   |  j  t d   | D  k S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>y   s    (   u   datau   set(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __eq__x   s    c             C   s   |  j  | |  j j  S(   N(   u   _applyu   datau   symmetric_difference(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   symmetric_difference{   s    c             C   s<   |  | k o |  j  j   n |  j  j d   | D  d  S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>   s    (   u   datau   clearu   symmetric_difference_update(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   symmetric_difference_update   s    c             C   s<   |  | k o |  j  j   n |  j  j d   | D  |  S(   Nc             s   s   |  ] } t  |  Vq d  S(   N(   u   ref(   u   .0u   item(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu	   <genexpr>   s    (   u   datau   clearu   symmetric_difference_update(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   __ixor__   s    c             C   s   |  j  | |  j j  S(   N(   u   _applyu   datau   union(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   union   s    c             C   s   t  |  j |   d k S(   Ni    (   u   lenu   intersection(   u   selfu   other(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu
   isdisjoint   s    N('   u   __name__u
   __module__u   Noneu   __init__u   __iter__u   __len__u   __contains__u
   __reduce__u   addu   clearu   copyu   popu   removeu   discardu   updateu   __ior__u   _applyu
   differenceu   __sub__u   difference_updateu   __isub__u   intersectionu   __and__u   intersection_updateu   __iand__u   issubsetu   __lt__u   __le__u
   issupersetu   __gt__u   __ge__u   __eq__u   symmetric_differenceu   __xor__u   symmetric_difference_updateu   __ixor__u   unionu   __or__u
   isdisjoint(   u
   __locals__(    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   WeakSet	   sH   

								
																				N(   u   _weakrefu   refu   __all__u   WeakSet(    (    (    u(   /mit/python/lib/python3.0/_weakrefset.pyu   <module>   s   	