summaryrefslogtreecommitdiffstats
path: root/Doc/library/bz2.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-10-02 17:07:06 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-10-02 17:07:06 (GMT)
commit8bdd4480c46bea97788c45323329ebd54c91242f (patch)
treeab289912cc95bcb9e40d9a703e20aae5e506553a /Doc/library/bz2.rst
parent03020cfa97b6c2c80f50fb2d07025aff49c3513c (diff)
downloadcpython-8bdd4480c46bea97788c45323329ebd54c91242f.zip
cpython-8bdd4480c46bea97788c45323329ebd54c91242f.tar.gz
cpython-8bdd4480c46bea97788c45323329ebd54c91242f.tar.bz2
Issue #28225: bz2 module now supports pathlib
Initial patch by Ethan Furman.
Diffstat (limited to 'Doc/library/bz2.rst')
-rw-r--r--Doc/library/bz2.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/bz2.rst b/Doc/library/bz2.rst
index 6c49d9f..d5f6225 100644
--- a/Doc/library/bz2.rst
+++ b/Doc/library/bz2.rst
@@ -61,6 +61,9 @@ All of the classes in this module may safely be accessed from multiple threads.
.. versionchanged:: 3.4
The ``'x'`` (exclusive creation) mode was added.
+ .. versionchanged:: 3.6
+ Accepts a :term:`path-like object`.
+
.. class:: BZ2File(filename, mode='r', buffering=None, compresslevel=9)
@@ -128,6 +131,9 @@ All of the classes in this module may safely be accessed from multiple threads.
The :meth:`~io.BufferedIOBase.read` method now accepts an argument of
``None``.
+ .. versionchanged:: 3.6
+ Accepts a :term:`path-like object`.
+
Incremental (de)compression
---------------------------