b.t.StringIOWrapper(object) : class documentation

Part of bzrlib.tests View In Hierarchy

A wrapper around cStringIO which just adds an encoding attribute.

Internally we can check sys.stdout to see what the output encoding should be. However, cStringIO has no encoding attribute that we can set. So we wrap it instead.

Method __init__ Undocumented
Method __getattr__ Undocumented
Method __setattr__ Undocumented
def __init__(self, s=None):
def __getattr__(self, name, getattr=getattr):
def __setattr__(self, name, val):
API Documentation for Bazaar, generated by pydoctor at 2021-09-24 00:20:35.