def __setstate__(self, state):
if len(state) != <NUM_LIT:1>:<EOL><INDENT>raise TypeError('<STR_LIT>' %<EOL>len(state))<EOL><DEDENT>kwargs = state[<NUM_LIT:0>]<EOL>if not isinstance(kwargs, dict):<EOL><INDENT>raise TypeError('<STR_LIT>'<EOL>'<STR_LIT>' % kwargs)<EOL><DEDENT>self.__reference = None<EOL>self.__pairs = tuple(kwargs['<STR_LIT>'])<EOL>self.__app = kwargs['<STR_LIT>']<EOL>self.__namespace = kwargs['<STR_LIT>']<EOL>
Private API used for pickling.