(self,label)
Create DNS label instance 

            Label can be specified as:
            - a list/tuple of byte strings
            - a byte string (split into components separated by b'.')
            - a unicode string which will be encoded according to RFC3490/IDNA
Create DNS label instance
Create DNS label instance
def __init__(self,label):
        """
            Create DNS label instance 

            Label can be specified as:
            - a list/tuple of byte strings
            - a byte string (split into components separated by b'.')
            - a unicode string which will be encoded according to RFC3490/IDNA
        """
        if type(label) == DNSLabel:
            self.label = label.label
        elif type(label) in (list,tuple):
            self.label = tuple(label)
        else:
            if not label or label in (b'.','.'):
                self.label = ()
            elif type(label) is not bytes:
                self.label = tuple(label.encode("idna").\
                                rstrip(b".").split(b"."))
            else:
                self.label = tuple(label.rstrip(b".").split(b"."))
def __init__ ( self , label ) : if type ( label ) == DNSLabel : self . label = label . label elif type ( label ) in ( list , tuple ) : self . label = tuple ( label ) else : if not label or label in ( b'.' , '.' ) : self . label = ( ) elif type ( label ) is not bytes : self . label = tuple ( label . encode ( "idna" ) . rstrip ( b"." ) . split ( b"." ) ) else : self . label = tuple ( label . rstrip ( b"." ) . split ( b"." ) )