MythTV
master
|
Public Member Functions | |
def | __init__ (self, outstream, encoding=None) |
def | write (self, obj) |
def | __getattr__ (self, attr) |
Public Attributes | |
out | |
encoding | |
Wraps a stream with an encoder
Definition at line 79 of file tedtalks.py.
def tedtalks.OutStreamEncoder.__init__ | ( | self, | |
outstream, | |||
encoding = None |
|||
) |
Definition at line 81 of file tedtalks.py.
def tedtalks.OutStreamEncoder.write | ( | self, | |
obj | |||
) |
Wraps the output stream, encoding Unicode strings with the specified encoding
Definition at line 88 of file tedtalks.py.
def tedtalks.OutStreamEncoder.__getattr__ | ( | self, | |
attr | |||
) |
Delegate everything but write to the stream
Definition at line 94 of file tedtalks.py.
tedtalks.OutStreamEncoder.out |
Definition at line 82 of file tedtalks.py.
Referenced by giantbomb.giantbomb_api.OutStreamEncoder.__getattr__(), trailers.OutStreamEncoder.__getattr__(), tedtalks.OutStreamEncoder.__getattr__(), thewb.OutStreamEncoder.__getattr__(), giantbomb.OutStreamEncoder.__getattr__(), vimeo.OutStreamEncoder.__getattr__(), giantbomb.giantbomb_api.OutStreamEncoder.write(), trailers.OutStreamEncoder.write(), tedtalks.OutStreamEncoder.write(), thewb.OutStreamEncoder.write(), giantbomb.OutStreamEncoder.write(), and vimeo.OutStreamEncoder.write().
tedtalks.OutStreamEncoder.encoding |
Definition at line 84 of file tedtalks.py.
Referenced by giantbomb.giantbomb_api.OutStreamEncoder.write(), trailers.OutStreamEncoder.write(), tedtalks.OutStreamEncoder.write(), thewb.OutStreamEncoder.write(), giantbomb.OutStreamEncoder.write(), and vimeo.OutStreamEncoder.write().