Back to index

python3.2  3.2.2
Classes | Functions
encodings.charmap Namespace Reference


class  Codec
 Codec APIs. More...
class  IncrementalEncoder
class  IncrementalDecoder
class  StreamWriter
class  StreamReader


def getregentry

Detailed Description

Generic Python Character Mapping Codec.

    Use this codec directly rather than through the automatic
    conversion mechanisms supplied by unicode() and .encode().

Written by Marc-Andre Lemburg (

(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.

Function Documentation

Definition at line 60 of file

00061 def getregentry():
00062     return codecs.CodecInfo(
00063         name='charmap',
00064         encode=Codec.encode,
00065         decode=Codec.decode,
00066         incrementalencoder=IncrementalEncoder,
00067         incrementaldecoder=IncrementalDecoder,
00068         streamwriter=StreamWriter,
00069         streamreader=StreamReader,
00070     )