def schnorr_partial_combine(self, schnorr_sigs):
if not HAS_SCHNORR:<EOL><INDENT>raise Exception("<STR_LIT>")<EOL><DEDENT>assert len(schnorr_sigs) > <NUM_LIT:0><EOL>sig64 = ffi.new('<STR_LIT>')<EOL>sig64sin = []<EOL>for sig in schnorr_sigs:<EOL><INDENT>if not isinstance(sig, bytes):<EOL><INDENT>raise TypeError('<STR_LIT>'.format(type(sig)))<EOL><DEDENT>if len(sig) != <NUM_LIT:64>:<EOL><INDENT>raise Exception('<STR_LIT>')<EOL><DEDENT>sig64sin.append(ffi.new('<STR_LIT>', sig))<EOL><DEDENT>res = lib.secp256k1_schnorr_partial_combine(<EOL>self.ctx, sig64, sig64sin, len(sig64sin))<EOL>if res <= <NUM_LIT:0>:<EOL><INDENT>raise Exception('<STR_LIT>'.format(res))<EOL><DEDENT>return bytes(ffi.buffer(sig64, <NUM_LIT:64>))<EOL>
Combine multiple Schnorr partial signatures.