(encoding)
return encoder
Lookup up the codec for the given encoding and return
        its IncrementalEncoder class or factory function.

        Raises a LookupError in case the encoding cannot be found
        or the codecs doesn't provide an incremental encoder.
Lookup up the codec for the given encoding and return
        its IncrementalEncoder class or factory function.
Lookup up the codec for the given encoding and return its IncrementalEncoder class or factory function .
def getincrementalencoder(encoding):

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

        Raises a LookupError in case the encoding cannot be found
        or the codecs doesn't provide an incremental encoder.

    """
    encoder = lookup(encoding).incrementalencoder
    if encoder is None:
        raise LookupError(encoding)
    return encoder
def getincrementalencoder ( encoding ) : encoder = lookup ( encoding ) . incrementalencoder if encoder is None : raise LookupError ( encoding ) return encoder