(encoding)
return lookup(encoding).streamwriter
Lookup up the codec for the given encoding and return
        its StreamWriter class or factory function.

        Raises a LookupError in case the encoding cannot be found.
Lookup up the codec for the given encoding and return
        its StreamWriter class or factory function.
Lookup up the codec for the given encoding and return its StreamWriter class or factory function .
def getwriter(encoding):

    """ Lookup up the codec for the given encoding and return
        its StreamWriter class or factory function.

        Raises a LookupError in case the encoding cannot be found.

    """
    return lookup(encoding).streamwriter
def getwriter ( encoding ) : return lookup ( encoding ) . streamwriter