Your IP : 3.148.105.152


Current Path : /opt/alt/python33/lib64/python3.3/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/__pycache__/_weakrefset.cpython-33.pyo

�
��fIc@sCddlmZdgZGdd�d�ZGdd�d�ZdS(i(urefuWeakSetcBs8|EeZdZdd�Zdd�Zdd�ZdS(u_IterationGuardcCst|�|_dS(N(urefu
weakcontainer(uselfu
weakcontainer((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__init__su_IterationGuard.__init__cCs/|j�}|dk	r+|jj|�n|S(N(u
weakcontaineruNoneu
_iteratinguadd(uselfuw((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	__enter__su_IterationGuard.__enter__cCsH|j�}|dk	rD|j}|j|�|sD|j�qDndS(N(u
weakcontaineruNoneu
_iteratinguremoveu_commit_removals(uselfueutubuwus((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__exit__s	
u_IterationGuard.__exit__N(u__name__u
__module__u__qualname__u__init__u	__enter__u__exit__(u
__locals__((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu_IterationGuard
su_IterationGuardcBs�|EeZdZd=dd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Z	d
d�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�ZeZdd �Zd!d"�Zd#d$�ZeZd%d&�Zd'd(�Zd)d*�ZeZd+d,�Zd-d.�ZeZd/d0�Zd1d2�Z d3d4�Z!e!Z"d5d6�Z#d7d8�Z$d9d:�Z%e%Z&d;d<�Z'd=S(>uWeakSetcCs_t�|_t|�dd�}||_g|_t�|_|dk	r[|j|�ndS(NcSsH|�}|dk	rD|jr1|jj|�qD|jj|�ndS(N(uNoneu
_iteratingu_pending_removalsuappendudataudiscard(uitemuselfrefuself((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu_remove&s
		u!WeakSet.__init__.<locals>._remove(usetudataurefu_removeu_pending_removalsu
_iteratinguNoneuupdate(uselfudatau_remove((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__init__$s		uWeakSet.__init__cCs6|j}|jj}x|r1||j��qWdS(N(u_pending_removalsudataudiscardupop(uselfuludiscard((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu_commit_removals4s		uWeakSet._commit_removalsc
csHt|��6x.|jD]#}|�}|dk	r|VqqWWdQXdS(N(u_IterationGuardudatauNone(uselfuitemrefuitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__iter__:s

	uWeakSet.__iter__cCst|j�t|j�S(N(ulenudatau_pending_removals(uself((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__len__CsuWeakSet.__len__cCs6yt|�}Wntk
r(dSYnX||jkS(NF(urefu	TypeErroruFalseudata(uselfuitemuwr((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__contains__Fs

	uWeakSet.__contains__cCs%|jt|�ft|dd�fS(Nu__dict__(u	__class__ulistugetattruNone(uself((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu
__reduce__MsuWeakSet.__reduce__cCs6|jr|j�n|jjt||j��dS(N(u_pending_removalsu_commit_removalsudatauaddurefu_remove(uselfuitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuaddQs	
uWeakSet.addcCs'|jr|j�n|jj�dS(N(u_pending_removalsu_commit_removalsudatauclear(uself((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuclearVs	
u
WeakSet.clearcCs
|j|�S(N(u	__class__(uself((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyucopy[suWeakSet.copycCsm|jr|j�nxPy|jj�}Wntk
rLtd��YnX|�}|dk	r|SqdS(Nupop from empty WeakSet(u_pending_removalsu_commit_removalsudataupopuKeyErroruNone(uselfuitemrefuitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyupop^s	

	uWeakSet.popcCs0|jr|j�n|jjt|��dS(N(u_pending_removalsu_commit_removalsudatauremoveuref(uselfuitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuremovejs	
uWeakSet.removecCs0|jr|j�n|jjt|��dS(N(u_pending_removalsu_commit_removalsudataudiscarduref(uselfuitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyudiscardos	
uWeakSet.discardcCs8|jr|j�nx|D]}|j|�qWdS(N(u_pending_removalsu_commit_removalsuadd(uselfuotheruelement((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuupdatets	

uWeakSet.updatecCs|j|�|S(N(uupdate(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__ior__zs
uWeakSet.__ior__cCs|j�}|j|�|S(N(ucopyudifference_update(uselfuotherunewset((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu
difference~s
uWeakSet.differencecCs|j|�dS(N(u__isub__(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyudifference_update�suWeakSet.difference_updatecCsS|jr|j�n||kr2|jj�n|jjdd�|D��|S(Ncss|]}t|�VqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	<genexpr>�su#WeakSet.__isub__.<locals>.<genexpr>(u_pending_removalsu_commit_removalsudatauclearudifference_update(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__isub__�s	
uWeakSet.__isub__cs �j�fdd�|D��S(Nc3s!|]}|�kr|VqdS(N((u.0uitem(uself(u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	<genexpr>�su'WeakSet.intersection.<locals>.<genexpr>(u	__class__(uselfuother((uselfu0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuintersection�suWeakSet.intersectioncCs|j|�dS(N(u__iand__(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuintersection_update�suWeakSet.intersection_updatecCs7|jr|j�n|jjdd�|D��|S(Ncss|]}t|�VqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	<genexpr>�su#WeakSet.__iand__.<locals>.<genexpr>(u_pending_removalsu_commit_removalsudatauintersection_update(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__iand__�s	
uWeakSet.__iand__cCs|jjdd�|D��S(Ncss|]}t|�VqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	<genexpr>�su#WeakSet.issubset.<locals>.<genexpr>(udatauissubset(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuissubset�suWeakSet.issubsetcCs |jtdd�|D��kS(Ncss|]}t|�VqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	<genexpr>�su!WeakSet.__lt__.<locals>.<genexpr>(udatauset(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__lt__�suWeakSet.__lt__cCs|jjdd�|D��S(Ncss|]}t|�VqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	<genexpr>�su%WeakSet.issuperset.<locals>.<genexpr>(udatau
issuperset(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu
issuperset�suWeakSet.issupersetcCs |jtdd�|D��kS(Ncss|]}t|�VqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	<genexpr>�su!WeakSet.__gt__.<locals>.<genexpr>(udatauset(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__gt__�suWeakSet.__gt__cCs6t||j�stS|jtdd�|D��kS(Ncss|]}t|�VqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	<genexpr>�su!WeakSet.__eq__.<locals>.<genexpr>(u
isinstanceu	__class__uNotImplementedudatauset(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__eq__�suWeakSet.__eq__cCs|j�}|j|�|S(N(ucopyusymmetric_difference_update(uselfuotherunewset((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyusymmetric_difference�s
uWeakSet.symmetric_differencecCs|j|�dS(N(u__ixor__(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyusymmetric_difference_update�su#WeakSet.symmetric_difference_updatecsY�jr�j�n�|kr2�jj�n#�jj�fdd�|D���S(Nc3s!|]}t|�j�VqdS(N(urefu_remove(u.0uitem(uself(u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	<genexpr>�su#WeakSet.__ixor__.<locals>.<genexpr>(u_pending_removalsu_commit_removalsudatauclearusymmetric_difference_update(uselfuother((uselfu0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__ixor__�s	
#uWeakSet.__ixor__cCs |jdd�||fD��S(Ncss"|]}|D]}|Vq
qdS(N((u.0usue((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu	<genexpr>�su WeakSet.union.<locals>.<genexpr>(u	__class__(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuunion�su
WeakSet.unioncCst|j|��dkS(Ni(ulenuintersection(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu
isdisjoint�suWeakSet.isdisjointN((u__name__u
__module__u__qualname__uNoneu__init__u_commit_removalsu__iter__u__len__u__contains__u
__reduce__uadduclearucopyupopuremoveudiscarduupdateu__ior__u
differenceu__sub__udifference_updateu__isub__uintersectionu__and__uintersection_updateu__iand__uissubsetu__le__u__lt__u
issupersetu__ge__u__gt__u__eq__usymmetric_differenceu__xor__usymmetric_difference_updateu__ixor__uunionu__or__u
isdisjoint(u
__locals__((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuWeakSet#sH			N(u_weakrefurefu__all__u_IterationGuarduWeakSet(((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu<module>s	

?>