def _restore_buffers(obj, buffers):
if isinstance(obj, CannedObject) and obj.buffers:<EOL><INDENT>for i, buf in enumerate(obj.buffers):<EOL><INDENT>if buf is None:<EOL><INDENT>obj.buffers[i] = buffers.pop(<NUM_LIT:0>)<EOL><DEDENT><DEDENT><DEDENT>
Restore extracted buffers.