AlkantarClanX12
Current Path : /lib64/python2.7/site-packages/dns/ |
Current File : //lib64/python2.7/site-packages/dns/rrset.pyc |
� !`Nc @ sz d Z d d l Z d d l Z d d l Z d d l Z d e j j f d � � YZ d � Z d � Z d � Z d � Z d S( s) DNS RRsets (an RRset is a named rdataset)i����Nt RRsetc B s� e Z d Z d d g Z e j j d d � Z d � Z d � Z d � Z d � Z d d � Z d e d � Z d d d � Z d � Z RS( s6 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. t namet deletingc C s2 t t | � j | | | � | | _ | | _ d S( s Create a new RRset.N( t superR t __init__R R ( t selfR t rdclasst rdtypet coversR ( ( s/ /usr/lib64/python2.7/site-packages/dns/rrset.pyR # s c C s1 t t | � j � } | j | _ | j | _ | S( N( R R t _cloneR R ( R t obj( ( s/ /usr/lib64/python2.7/site-packages/dns/rrset.pyR + s c C s� | j d k r d } n d t j j | j � d } | j d k r` d t j j | j � } n d } d t | j � d t j j | j � d t j j | j � | | d S( Ni t t (t )s delete=s <DNS t s RRset>( R t dnst rdatatypet to_textR t Nonet rdataclasst strR R R ( R t ctextt dtext( ( s/ /usr/lib64/python2.7/site-packages/dns/rrset.pyt __repr__1 s c C s | j � S( N( R ( R ( ( s/ /usr/lib64/python2.7/site-packages/dns/rrset.pyt __str__>