Server IP : 192.158.238.246 / Your IP : 18.225.175.56 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/imunify360/venv/lib/python3.11/site-packages/pyrsistent/__pycache__/ |
Upload File : |
� �� h= � � � 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.2/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__&