Server : LiteSpeed System : Linux server64.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : nimalaab ( 3358) PHP Version : 8.1.32 Disable Function : NONE Directory : /opt/imunify360/venv/lib/python3.11/site-packages/pyrsistent/__pycache__/ |
� ��Fh= � � � d dl mZmZ d dlZd dlmZ G d� de� � Z ej e� � ej e� � e e� � � � Z d d�Z d � ZdS )� )�Set�HashableN)�pmapc �Z � � e Zd ZdZdZ� fd�Zd� Zd� Zd� Zd� Z d� Z d � Zd � Ze dd�� � Zd � Zd� Zd� Zd� Z G d� de� � Zd� Zd� Zej Zej Zej Zej Zej Zej Zej Zej Zej Z ej! Z!eZ"eZ#eZ$eZ%e Z&e!Z'ej( Z(� xZ)S )�PSeta! Persistent set implementation. Built on top of the persistent map. The set supports all operations in the Set protocol and is Hashable. Do not instantiate directly, instead use the factory functions :py:func:`s` or :py:func:`pset` to create an instance. Random access and insert is log32(n) where n is the size of the set. Some examples: >>> s = pset([1, 2, 3, 1]) >>> s2 = s.add(4) >>> s3 = s2.remove(2) >>> s pset([1, 2, 3]) >>> s2 pset([1, 2, 3, 4]) >>> s3 pset([1, 3, 4]) )�_map�__weakref__c �f �� t t | � � � | � � }||_ |S �N)�superr �__new__r )�cls�m�self� __class__s ��p/builddir/build/BUILD/imunify360-venv-2.5.3/opt/imunify360/venv/lib/python3.11/site-packages/pyrsistent/_pset.pyr zPSet.__new__ s, �� ��T�3���'�'��,�,���� ��� c � � || j v S r )r �r �elements r �__contains__zPSet.__contains__# s � ��$�)�#�#r c �* � t | j � � S r )�iterr �r s r �__iter__z PSet.__iter__&