Back to index

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

Classes

class  IncrementalEncoder
class  IncrementalDecoder
class  StreamWriter
class  StreamReader

Functions

def decode
def getregentry

Variables

 encode = codecs.utf_7_encode
 Codec APIs.

Detailed Description

Python 'utf-7' Codec

Written by Brian Quinlan (brian@sweetapp.com).

Function Documentation

def encodings.utf_7.decode (   input,
  errors = 'strict' 
)

Definition at line 11 of file utf_7.py.

00011 
00012 def decode(input, errors='strict'):
00013     return codecs.utf_7_decode(input, errors, True)

Definition at line 29 of file utf_7.py.

00029 
00030 def getregentry():
00031     return codecs.CodecInfo(
00032         name='utf-7',
00033         encode=encode,
00034         decode=decode,
00035         incrementalencoder=IncrementalEncoder,
00036         incrementaldecoder=IncrementalDecoder,
00037         streamreader=StreamReader,
00038         streamwriter=StreamWriter,
00039     )

Variable Documentation

Codec APIs.

Definition at line 9 of file utf_7.py.