python (3.11.7)
e X d dl mZ d dlmZ dgZ G d d Z G d d ZdS ) ref)GenericAliasWeakSetc e Zd Zd Zd Zd ZdS )_IterationGuardc . t | | _ d S N)r
weakcontainer)selfr s ?/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/_weakrefset.py__init__z_IterationGuard.__init__ s // c f | }||j | | S r
)r
_iteratingadd)r ws r
__enter__z_IterationGuard.__enter__ s3 =
LT"""r c | }|4|j }| | |s| d S d S d S r
)r r remove_commit_removals)r etbr ss r
__exit__z_IterationGuard.__exit__ s_ =A
HHTNNN
%""$$$$$ =
%
%r N)__name__
__module____qualname__r r r r r
r r sA 0 0 0 % % % % %r r c e Zd Zd!dZd Zd Zd Zd Zd Zd Z d Z
d
Zd Zd Z
d
Zd Zd Zd ZeZd Zd Zd ZeZd Zd Zd ZeZd Zd ZeZd Zd Zd Z e Z!d Z"d Z#d Z$e$Z%d Z&d Z' e(e) Z*dS )"r Nc t | _ t | fd}|| _ g | _ t | _ || | d S d S )Nc | }|?|j r|j | d S |j | d S d S r
)r _pending_removalsappenddatadiscard)itemselfrefr s r
_removez!WeakSet.__init__.<locals>._remove'