def xz_decompress_stream(src):
dec = lzma.LZMADecompressor()<EOL>for block in src:<EOL><INDENT>decoded = dec.decompress(block)<EOL>if decoded:<EOL><INDENT>yield decoded<EOL><DEDENT><DEDENT>if dec.unused_data:  <EOL><INDENT>raise IOError('<STR_LIT>')<EOL><DEDENT>
Decompress data from `src`.

    Args:
        src (iterable): iterable that yields blocks of compressed data

    Yields:
        blocks of uncompressed data