def __init__(self): """ Create a new LWPCookieJar that uses an in-memory "file." The contents of this file can be retrieved by calling the 'getvalue' method. """ LWPCookieJar.__init__(self) self._string = ""
def __init__(self, file_name): file_name = Rel(__file__).folder('.cook').join(file_name) LWPCookieJar.__init__(self, file_name)