dnspython  1.16.0
About: dnspython is a DNS toolkit (for Python 2.x) that supports almost all record types.
  Fossies Dox: dnspython-1.16.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

dns.name.IDNACodec Class Reference
Inheritance diagram for dns.name.IDNACodec:
[legend]
Collaboration diagram for dns.name.IDNACodec:
[legend]

Public Member Functions

def __init__ (self)
 
def encode (self, label)
 
def decode (self, label)
 

Detailed Description

Abstract base class for IDNA encoder/decoders.

Definition at line 107 of file name.py.

Constructor & Destructor Documentation

◆ __init__()

def dns.name.IDNACodec.__init__ (   self)

Definition at line 110 of file name.py.

Member Function Documentation

◆ decode()

def dns.name.IDNACodec.decode (   self,
  label 
)

Reimplemented in dns.name.IDNA2008Codec, and dns.name.IDNA2003Codec.

Definition at line 116 of file name.py.

References dns.name._escapify(), and dns._compat.maybe_decode().

◆ encode()

def dns.name.IDNACodec.encode (   self,
  label 
)

Reimplemented in dns.name.IDNA2008Codec, and dns.name.IDNA2003Codec.

Definition at line 113 of file name.py.


The documentation for this class was generated from the following file: