@@ -61,7 +61,7 @@ The following classes are provided:
61
61
responsible for storing and retrieving cookies from a file or database.
62
62
63
63
64
- .. class :: FileCookieJar(filename, delayload=None, policy=None)
64
+ .. class :: FileCookieJar(filename=None , delayload=None, policy=None)
65
65
66
66
*policy * is an object implementing the :class: `CookiePolicy ` interface. For the
67
67
other arguments, see the documentation for the corresponding attributes.
@@ -71,6 +71,8 @@ The following classes are provided:
71
71
:meth: `load ` or :meth: `revert ` method is called. Subclasses of this class are
72
72
documented in section :ref: `file-cookie-jar-classes `.
73
73
74
+ This should not be initialized directly – use its subclasses below instead.
75
+
74
76
.. versionchanged :: 3.8
75
77
76
78
The filename parameter supports a :term: `path-like object `.
@@ -317,7 +319,7 @@ FileCookieJar subclasses and co-operation with web browsers
317
319
The following :class: `CookieJar ` subclasses are provided for reading and
318
320
writing.
319
321
320
- .. class :: MozillaCookieJar(filename, delayload=None, policy=None)
322
+ .. class :: MozillaCookieJar(filename=None , delayload=None, policy=None)
321
323
322
324
A :class: `FileCookieJar ` that can load from and save cookies to disk in the
323
325
Mozilla ``cookies.txt `` file format (which is also used by curl and the Lynx
@@ -338,7 +340,7 @@ writing.
338
340
Mozilla.
339
341
340
342
341
- .. class :: LWPCookieJar(filename, delayload=None, policy=None)
343
+ .. class :: LWPCookieJar(filename=None , delayload=None, policy=None)
342
344
343
345
A :class: `FileCookieJar ` that can load from and save cookies to disk in format
344
346
compatible with the libwww-perl library's ``Set-Cookie3 `` file format. This is
0 commit comments