Unpack tuples returned from Python function calls.