def __setstate__(self, state): """ Create pycurl instance after Grag instance was restored from pickled state. """ state['kit'] = Kit() self.__dict__ = state
def __init__(self): self.kit = Kit()