(self)
return state
Unlike a normal CookieJar, this class is pickleable.
Unlike a normal CookieJar, this class is pickleable.
Unlike a normal CookieJar this class is pickleable .
def __getstate__(self):
        """Unlike a normal CookieJar, this class is pickleable."""
        state = self.__dict__.copy()
        # remove the unpickleable RLock object
        state.pop('_cookies_lock')
        return state
def __getstate__ ( self ) : state = self . __dict__ . copy ( ) # remove the unpickleable RLock object state . pop ( '_cookies_lock' ) return state