def zip_descr(seqarrays, flatten=False):
newdtype = []<EOL>if flatten:<EOL><INDENT>for a in seqarrays:<EOL><INDENT>newdtype.extend(flatten_descr(a.dtype))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>for a in seqarrays:<EOL><INDENT>current = a.dtype<EOL>names = current.names or ()<EOL>if len(names) > <NUM_LIT:1>:<EOL><INDENT>newdtype.append(('<STR_LIT>', current.descr))<EOL><DEDENT>else:<EOL><INDENT>newdtype.extend(current.descr)<EOL><DEDENT><DEDENT><DEDENT>return np.dtype(newdtype).descr<EOL>
Combine the dtype description of a series of arrays.

Parameters
----------
seqarrays : sequence of arrays
    Sequence of arrays
flatten : {boolean}, optional
    Whether to collapse nested descriptions.