File: //lib/python3.9/site-packages/dns/__pycache__/set.cpython-39.opt-1.pyc
a
�M�e�# � @ s d dl Z G dd� d�ZdS )� Nc @ sN e Zd ZdZdgZdQdd�Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
d d�dd�Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-d.� Zd/d0� Zd1d2� Zd3d4� Zd5d6� Zd7d8� Zd9d:� Zd;d<� Z d=d>� Z!d?d@� Z"dAdB� Z#dCdD� Z$dEdF� Z%dGdH� Z&dIdJ� Z'dKdL� Z(dMdN� Z)dOdP� Z*dS )R�Seta! A simple set class.
This class was originally used to deal with sets being missing in
ancient versions of python, but dnspython will continue to use it
as these sets are based on lists and are thus indexable, and this
ability is widely used in dnspython applications.
�itemsNc C s( t � | _|dur$|D ]}| �|� qdS )zaInitialize the set.
*items*, an iterable or ``None``, the initial set of items.
N)�dictr �add)�selfr �item� r �+/usr/lib/python3.9/site-packages/dns/set.py�__init__ s zSet.__init__c C s dt t| j�� �� S )Nzdns.set.Set(%s))�repr�listr �keys�r r r r �__repr__- s zSet.__repr__c C s || j vrd| j |<