Back to index

python3.2  3.2.2
Classes | Functions | Variables
encodings.mac_latin2 Namespace Reference


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


def getregentry


tuple decoding_map = codecs.make_identity_dict(range(256))
 Decoding Map.
tuple encoding_map = codecs.make_encoding_map(decoding_map)
 Encoding Map.

Detailed Description

Python Character Mapping Codec generated from 'LATIN2.TXT' with

Written by Marc-Andre Lemburg (

(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
(c) Copyright 2000 Guido van Rossum.

Function Documentation

Definition at line 38 of file

00039 def getregentry():
00040     return codecs.CodecInfo(
00041         name='mac-latin2',
00042         encode=Codec().encode,
00043         decode=Codec().decode,
00044         incrementalencoder=IncrementalEncoder,
00045         incrementaldecoder=IncrementalDecoder,
00046         streamreader=StreamReader,
00047         streamwriter=StreamWriter,
00048     )

Variable Documentation

Decoding Map.

Definition at line 51 of file

Encoding Map.

Definition at line 183 of file