summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorStéphane Wirtel <stephane@wirtel.be>2019-03-01 21:40:54 +0100
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-03-01 12:40:54 -0800
commit4b219ce81ed04234648a4ce4f0cb0865818abb38 (patch)
tree43d7c14161d763c8d257af45b95e4463cea854dd /Doc
parentbda918bf65a88560ec453aaba0758a9c0d49b449 (diff)
downloadcpython-git-4b219ce81ed04234648a4ce4f0cb0865818abb38.tar.gz
bpo-36043: FileCookieJar supports os.PathLike (GH-11945)
https://bugs.python.org/issue36043
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/http.cookiejar.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/http.cookiejar.rst b/Doc/library/http.cookiejar.rst
index 4c8be2917b..a9d7321a42 100644
--- a/Doc/library/http.cookiejar.rst
+++ b/Doc/library/http.cookiejar.rst
@@ -71,6 +71,10 @@ The following classes are provided:
:meth:`load` or :meth:`revert` method is called. Subclasses of this class are
documented in section :ref:`file-cookie-jar-classes`.
+ .. versionchanged:: 3.8
+
+ The filename parameter supports a :term:`path-like object`.
+
.. class:: CookiePolicy()
@@ -341,6 +345,9 @@ writing.
compatible with the libwww-perl library's ``Set-Cookie3`` file format. This is
convenient if you want to store cookies in a human-readable file.
+ .. versionchanged:: 3.8
+
+ The filename parameter supports a :term:`path-like object`.
.. _cookie-policy-objects: