Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
codecs.CodecInfo Class Reference

Codec base classes (defining the API) More...

List of all members.

Public Member Functions

def __new__
def __repr__

Public Attributes

 name
 encode
 decode
 incrementalencoder
 incrementaldecoder
 streamwriter
 streamreader

Detailed Description

Codec base classes (defining the API)

Definition at line 75 of file codecs.py.


Member Function Documentation

def codecs.CodecInfo.__new__ (   cls,
  encode,
  decode,
  streamreader = None,
  streamwriter = None,
  incrementalencoder = None,
  incrementaldecoder = None,
  name = None 
)

Definition at line 78 of file codecs.py.

00078 
00079         incrementalencoder=None, incrementaldecoder=None, name=None):
00080         self = tuple.__new__(cls, (encode, decode, streamreader, streamwriter))
00081         self.name = name
00082         self.encode = encode
00083         self.decode = decode
00084         self.incrementalencoder = incrementalencoder
00085         self.incrementaldecoder = incrementaldecoder
00086         self.streamwriter = streamwriter
00087         self.streamreader = streamreader
00088         return self

def codecs.CodecInfo.__repr__ (   self)

Definition at line 89 of file codecs.py.

00089 
00090     def __repr__(self):
00091         return "<%s.%s object for encoding %s at 0x%x>" % \
00092                 (self.__class__.__module__, self.__class__.__name__,
00093                  self.name, id(self))


Member Data Documentation

Definition at line 82 of file codecs.py.

Definition at line 81 of file codecs.py.

Definition at line 84 of file codecs.py.

Definition at line 83 of file codecs.py.

Definition at line 80 of file codecs.py.

Definition at line 86 of file codecs.py.

Definition at line 85 of file codecs.py.


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