(encoding)
return lookup(encoding).encode
Lookup up the codec for the given encoding and return
        its encoder function.

        Raises a LookupError in case the encoding cannot be found.
Lookup up the codec for the given encoding and return
        its encoder function.
Lookup up the codec for the given encoding and return its encoder function .
def getencoder(encoding):

    """ Lookup up the codec for the given encoding and return
        its encoder function.

        Raises a LookupError in case the encoding cannot be found.

    """
    return lookup(encoding).encode
def getencoder ( encoding ) : return lookup ( encoding ) . encode