]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39357: Update bz2 docstring: remove buffering (GH-18036)
authorVictor Stinner <vstinner@python.org>
Fri, 17 Jan 2020 12:50:39 +0000 (13:50 +0100)
committerGitHub <noreply@github.com>
Fri, 17 Jan 2020 12:50:39 +0000 (13:50 +0100)
Thanks Karthikeyan Singaravelan for the report ;-)

Lib/bz2.py

index a499ca3598f4bffe4b62818bc83b58ad406b814e..e094fbb548bc95ebdff96aff8e704a6c5c9e0708 100644 (file)
@@ -47,8 +47,6 @@ class BZ2File(_compression.BaseStream):
         'x' for creating exclusively, or 'a' for appending. These can
         equivalently be given as 'rb', 'wb', 'xb', and 'ab'.
 
-        buffering is ignored since Python 3.0. Its use is deprecated.
-
         If mode is 'w', 'x' or 'a', compresslevel can be a number between 1
         and 9 specifying the level of compression: 1 produces the least
         compression, and 9 (default) produces the most compression.