parameters: (iterator, encoding, errors='strict', **kwargs)
docstring: Decoding iterator.
  
      Decodes the input strings from the iterator using an IncrementalDecoder.
  
      errors and kwargs are passed through to the IncrementalDecoder
      constructor.
docstring_summary: Decoding iterator.
docstring_tokens: Decoding iterator .
function: def iterdecode(iterator, encoding, errors='strict', **kwargs):
      """
      Decoding iterator.
  
      Decodes the input strings from the iterator using an IncrementalDecoder.
  
      errors and kwargs are passed through to the IncrementalDecoder
      constructor.
      """
      decoder = getincrementaldecoder(encoding)(errors, **kwargs)
      for input in iterator:
          output = decoder.decode(input)
          if output:
              yield output
      output = decoder.decode(b"", True)
      if output:
          yield output
function_tokens: def iterdecode ( iterator , encoding , errors = 'strict' , * * kwargs ) : decoder = getincrementaldecoder ( encoding ) ( errors , * * kwargs ) for input in iterator : output = decoder . decode ( input ) if output : yield output output = decoder . decode ( b"" , True ) if output : yield output