AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python311/lib64/python3.11/__pycache__/ |
Current File : //proc/self/root/opt/alt/python311/lib64/python3.11/__pycache__/_weakrefset.cpython-311.opt-1.pyc |
� c��f � �X � d dl mZ d dlmZ dgZ G d� d� � Z G d� d� � ZdS )� ��ref)�GenericAlias�WeakSetc � � e Zd Zd� Zd� Zd� ZdS )�_IterationGuardc �. � t |� � | _ d S �N)r � weakcontainer)�selfr s �2/opt/alt/python311/lib64/python3.11/_weakrefset.py�__init__z_IterationGuard.__init__ s � � ��/�/����� c �f � | � � � }|�|j � | � � | S r )r � _iterating�add)r �ws r � __enter__z_IterationGuard.__enter__ s3 � ���� � ���=� �L���T�"�"�"��r c � � | � � � }|�4|j }|� | � � |s|� � � d S d S d S r )r r �remove�_commit_removals)r �e�t�br �ss r �__exit__z_IterationGuard.__exit__ s_ � ���� � ���=���A� �H�H�T�N�N�N�� %��"�"�$�$�$�$�$� �=� %� %r N)�__name__� __module__�__qualname__r r r � r r r r sA � � � � � �0� 0� 0�� � �%� %� %� %� %r r c � � e Zd Zd!d�Zd� 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_removals�append�data�discard)�item�selfrefr s r �_removez!WeakSet.__init__.<locals>._remove'