parameters: (stream, encoding = 'utf-8')
return_statement: return codecs.getwriter(encoding)(stream)
docstring: Returns a stream that wraps the provided stream, making it write
    characters using the specified encoding.
docstring_summary: Returns a stream that wraps the provided stream, making it write
    characters using the specified encoding.
docstring_tokens: Returns a stream that wraps the provided stream making it write characters using the specified encoding .
function: def WrapOutputStream(stream, encoding = 'utf-8'):
    '''Returns a stream that wraps the provided stream, making it write
    characters using the specified encoding.'''
    return codecs.getwriter(encoding)(stream)
function_tokens: def WrapOutputStream ( stream , encoding = 'utf-8' ) : return codecs . getwriter ( encoding ) ( stream )