@@ -61,7 +61,7 @@ The following classes are provided:
6161 responsible for storing and retrieving cookies from a file or database.
6262
6363
64- .. class :: FileCookieJar(filename, delayload=None, policy=None)
64+ .. class :: FileCookieJar(filename=None , delayload=None, policy=None)
6565
6666 *policy * is an object implementing the :class: `CookiePolicy ` interface. For the
6767 other arguments, see the documentation for the corresponding attributes.
@@ -71,6 +71,8 @@ The following classes are provided:
7171 :meth: `load ` or :meth: `revert ` method is called. Subclasses of this class are
7272 documented in section :ref: `file-cookie-jar-classes `.
7373
74+ This should not be initialized directly – use its subclasses below instead.
75+
7476 .. versionchanged :: 3.8
7577
7678 The filename parameter supports a :term: `path-like object `.
@@ -317,7 +319,7 @@ FileCookieJar subclasses and co-operation with web browsers
317319The following :class: `CookieJar ` subclasses are provided for reading and
318320writing.
319321
320- .. class :: MozillaCookieJar(filename, delayload=None, policy=None)
322+ .. class :: MozillaCookieJar(filename=None , delayload=None, policy=None)
321323
322324 A :class: `FileCookieJar ` that can load from and save cookies to disk in the
323325 Mozilla ``cookies.txt `` file format (which is also used by the Lynx and Netscape
@@ -338,7 +340,7 @@ writing.
338340 Mozilla.
339341
340342
341- .. class :: LWPCookieJar(filename, delayload=None, policy=None)
343+ .. class :: LWPCookieJar(filename=None , delayload=None, policy=None)
342344
343345 A :class: `FileCookieJar ` that can load from and save cookies to disk in format
344346 compatible with the libwww-perl library's ``Set-Cookie3 `` file format. This is
0 commit comments