MythTV  0.26-pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Public Member Functions | Public Attributes
thewb.OutStreamEncoder Class Reference

List of all members.

Public Member Functions

def __init__
def write
def __getattr__

Public Attributes

 out
 encoding

Detailed Description

Wraps a stream with an encoder

Definition at line 83 of file thewb.py.


Constructor & Destructor Documentation

def thewb.OutStreamEncoder.__init__ (   self,
  outstream,
  encoding = None 
)

Definition at line 85 of file thewb.py.


Member Function Documentation

def thewb.OutStreamEncoder.write (   self,
  obj 
)
Wraps the output stream, encoding Unicode strings with the specified encoding

Definition at line 92 of file thewb.py.

def thewb.OutStreamEncoder.__getattr__ (   self,
  attr 
)
Delegate everything but write to the stream

Definition at line 105 of file thewb.py.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends