def set_pickle_protocol(self, pk_protocol):
if pk_protocol not in [<NUM_LIT:2>, <NUM_LIT:3>]:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self.pk_protocol = pk_protocol<EOL>
Set pickle protocol.