OpenQuizz
Une application de gestion des contenus pédagogiques
Encoding Class Reference
Inheritance diagram for Encoding:
Collaboration diagram for Encoding:

Public Member Functions

def __init__ (self, name, codec_info)
 
def __repr__ (self)
 

Data Fields

 name
 
 codec_info
 

Detailed Description

Reresents a character encoding such as UTF-8,
that can be used for decoding or encoding.

.. attribute:: name

    Canonical name of the encoding

.. attribute:: codec_info

    The actual implementation of the encoding,
    a stdlib :class:`~codecs.CodecInfo` object.
    See :func:`codecs.register`.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name,
  codec_info 
)

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

Field Documentation

◆ codec_info

codec_info

◆ name

name

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