parameters: (encoding)
return_statement: return decoder
docstring: Lookup up the codec for the given encoding and return
          its IncrementalDecoder class or factory function.
  
          Raises a LookupError in case the encoding cannot be found
          or the codecs doesn't provide an incremental decoder.
docstring_summary: Lookup up the codec for the given encoding and return
          its IncrementalDecoder class or factory function.
docstring_tokens: Lookup up the codec for the given encoding and return its IncrementalDecoder class or factory function .
function: def getincrementaldecoder(encoding):
  
      """ Lookup up the codec for the given encoding and return
          its IncrementalDecoder class or factory function.
  
          Raises a LookupError in case the encoding cannot be found
          or the codecs doesn't provide an incremental decoder.
  
      """
      decoder = lookup(encoding).incrementaldecoder
      if decoder is None:
          raise LookupError(encoding)
      return decoder
function_tokens: def getincrementaldecoder ( encoding ) : decoder = lookup ( encoding ) . incrementaldecoder if decoder is None : raise LookupError ( encoding ) return decoder